org.apache.hadoop.hbase.exceptions
Class SnapshotCreationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.hadoop.hbase.exceptions.HBaseIOException
                  extended by org.apache.hadoop.hbase.exceptions.HBaseSnapshotException
                      extended by 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

Constructor Summary
SnapshotCreationException(String msg)
          Used internally by the RPC engine to pass the exception back to the client.
SnapshotCreationException(String msg, HBaseProtos.SnapshotDescription desc)
          Failure to create the specified snapshot
SnapshotCreationException(String msg, Throwable cause, HBaseProtos.SnapshotDescription desc)
          Failure to create the specified snapshot due to an external cause
 
Method Summary
 
Methods inherited from class org.apache.hadoop.hbase.exceptions.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

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 completed
desc - 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 completed
cause - root cause of the failure
desc - description of the snapshot attempted


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