org.apache.hadoop.hbase.snapshot
Class CorruptedSnapshotException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.hadoop.hbase.HBaseIOException
                  extended by org.apache.hadoop.hbase.snapshot.HBaseSnapshotException
                      extended by org.apache.hadoop.hbase.snapshot.CorruptedSnapshotException
All Implemented Interfaces:
Serializable

@InterfaceAudience.Public
@InterfaceStability.Evolving
public class CorruptedSnapshotException
extends HBaseSnapshotException

Exception thrown when the found snapshot info from the filesystem is not valid

See Also:
Serialized Form

Constructor Summary
CorruptedSnapshotException(String message)
           
CorruptedSnapshotException(String message, Exception e)
           
CorruptedSnapshotException(String message, HBaseProtos.SnapshotDescription snapshot)
          Snapshot was corrupt for some reason
 
Method Summary
 
Methods inherited from class org.apache.hadoop.hbase.snapshot.HBaseSnapshotException
getSnapshotDescription
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CorruptedSnapshotException

public CorruptedSnapshotException(String message,
                                  Exception e)
Parameters:
message - message describing the exception
e - cause

CorruptedSnapshotException

public CorruptedSnapshotException(String message,
                                  HBaseProtos.SnapshotDescription snapshot)
Snapshot was corrupt for some reason

Parameters:
message - full description of the failure
snapshot - snapshot that was expected

CorruptedSnapshotException

public CorruptedSnapshotException(String message)
Parameters:
message - message describing the exception


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.