com.amazon.carbonado
Class ConstraintException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.amazon.carbonado.RepositoryException
              extended by com.amazon.carbonado.PersistException
                  extended by com.amazon.carbonado.ConstraintException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UniqueConstraintException

public class ConstraintException
extends PersistException

A ConstraintException is thrown if the Repository storage layer detects any kind of constraint violation.

Author:
Brian S O'Neill
See Also:
Serialized Form

Constructor Summary
ConstraintException()
           
ConstraintException(String message)
           
ConstraintException(String message, Throwable cause)
           
ConstraintException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class com.amazon.carbonado.RepositoryException
backoff, getRootCause, makeFetchException, makePersistException, toFetchException, toFetchException, toPersistException, toPersistException
 
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 message)

ConstraintException

public ConstraintException(String message,
                           Throwable cause)

ConstraintException

public ConstraintException(Throwable cause)


Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.