net.sf.colle.sql.persistence
Class ConstraintViolatedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.sf.colle.util.OuterException
              extended bynet.sf.colle.sql.persistence.PersistenceException
                  extended bynet.sf.colle.sql.persistence.ConstraintViolatedException
All Implemented Interfaces:
Serializable

public class ConstraintViolatedException
extends PersistenceException

Exception to be thrown in create, update and delete methods of the persistence classes when a constraint (for example not null or unique columns) is violated. Created: 14 Mar 2001

Version:
$Revision: 1.3 $
Author:
Dwayne Schultz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
ConstraintViolatedException()
          Constructs an exception with no inner throwable.
ConstraintViolatedException(String psMessage)
          Constructs an exception with a message and no inner throwable.
ConstraintViolatedException(String psMessage, Throwable pxInnerThrowable)
          Constructs an exception with a message and a throwable
ConstraintViolatedException(Throwable pxInnerThrowable)
          Constructs an exception with a throwable
 
Methods inherited from class net.sf.colle.util.OuterException
getInnerThrowable, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstraintViolatedException

public ConstraintViolatedException()
Constructs an exception with no inner throwable.


ConstraintViolatedException

public ConstraintViolatedException(String psMessage)
Constructs an exception with a message and no inner throwable.


ConstraintViolatedException

public ConstraintViolatedException(Throwable pxInnerThrowable)
Constructs an exception with a throwable


ConstraintViolatedException

public ConstraintViolatedException(String psMessage,
                                   Throwable pxInnerThrowable)
Constructs an exception with a message and a throwable