org.apache.hadoop.hbase.exceptions
Class ConstraintException

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.DoNotRetryIOException
                      extended by org.apache.hadoop.hbase.exceptions.ConstraintException
All Implemented Interfaces:
Serializable

@InterfaceAudience.Private
public class ConstraintException
extends DoNotRetryIOException

Exception that a user defined constraint throws on failure of a Put.

Does NOT attempt the Put multiple times, since the constraint should fail every time for the same Put (it should be idempotent).

See Also:
Serialized Form

Constructor Summary
ConstraintException()
           
ConstraintException(String msg)
           
ConstraintException(String msg, Throwable cause)
           
 
Method Summary
 
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

ConstraintException

public ConstraintException()

ConstraintException

public ConstraintException(String msg)

ConstraintException

public ConstraintException(String msg,
                           Throwable cause)


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