org.apache.hadoop.hbase.exceptions
Class SnapshotExistsException

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.SnapshotExistsException
All Implemented Interfaces:
Serializable

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

Thrown when a snapshot exists but should not

See Also:
Serialized Form

Constructor Summary
SnapshotExistsException(String msg, HBaseProtos.SnapshotDescription desc)
          Failure due to the snapshot already existing
 
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

SnapshotExistsException

public SnapshotExistsException(String msg,
                               HBaseProtos.SnapshotDescription desc)
Failure due to the snapshot already existing

Parameters:
msg - full description of the failure
desc - snapshot that was attempted


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