Package org.apache.hadoop.hbase.snapshot
Class SnapshotCreationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.DoNotRetryIOException
org.apache.hadoop.hbase.snapshot.HBaseSnapshotException
org.apache.hadoop.hbase.snapshot.SnapshotCreationException
- All Implemented Interfaces:
Serializable
Thrown when a snapshot could not be created due to a server-side error when taking the snapshot.
- See Also:
-
Constructor Summary
ConstructorDescriptionSnapshotCreationException
(String message) Used internally by the RPC engine to pass the exception back to the client.SnapshotCreationException
(String message, Throwable cause, SnapshotDescription snapshotDescription) Failure to create the specified snapshot due to an external cause.SnapshotCreationException
(String message, SnapshotDescription snapshotDescription) Failure to create the specified snapshot. -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.snapshot.HBaseSnapshotException
getSnapshotDescription
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SnapshotCreationException
Used internally by the RPC engine to pass the exception back to the client.- Parameters:
message
- error message to pass back
-
SnapshotCreationException
Failure to create the specified snapshot.- Parameters:
message
- reason why the snapshot couldn't be completedsnapshotDescription
- description of the snapshot attempted
-
SnapshotCreationException
public SnapshotCreationException(String message, Throwable cause, SnapshotDescription snapshotDescription) Failure to create the specified snapshot due to an external cause.- Parameters:
message
- reason why the snapshot couldn't be completedcause
- the root cause of the failuresnapshotDescription
- description of the snapshot attempted
-