org.apache.hadoop.hbase.exceptions
Class SnapshotCreationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.hbase.exceptions.HBaseIOException
org.apache.hadoop.hbase.exceptions.HBaseSnapshotException
org.apache.hadoop.hbase.exceptions.SnapshotCreationException
- All Implemented Interfaces:
- Serializable
public class SnapshotCreationException
- extends HBaseSnapshotException
Thrown when a snapshot could not be created due to a server-side error when taking the snapshot.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SnapshotCreationException
public SnapshotCreationException(String msg)
- Used internally by the RPC engine to pass the exception back to the client.
- Parameters:
msg
- error message to pass back
SnapshotCreationException
public SnapshotCreationException(String msg,
HBaseProtos.SnapshotDescription desc)
- Failure to create the specified snapshot
- Parameters:
msg
- reason why the snapshot couldn't be completeddesc
- description of the snapshot attempted
SnapshotCreationException
public SnapshotCreationException(String msg,
Throwable cause,
HBaseProtos.SnapshotDescription desc)
- Failure to create the specified snapshot due to an external cause
- Parameters:
msg
- reason why the snapshot couldn't be completedcause
- root cause of the failuredesc
- description of the snapshot attempted
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.