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
@InterfaceAudience.Public
@InterfaceStability.Evolving
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,
org.apache.hadoop.hbase.protobuf.generated.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,
org.apache.hadoop.hbase.protobuf.generated.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 © 2007-2015 The Apache Software Foundation. All Rights Reserved.