fri.util.database.jpa.tree.uniqueconstraints
Class UniqueConstraintViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fri.util.database.jpa.tree.uniqueconstraints.UniqueConstraintViolationException
All Implemented Interfaces:
java.io.Serializable

public class UniqueConstraintViolationException
extends java.lang.Exception

This is thrown when the DAO detects a unique constraint violation, i.e. a Java-programmed check indicates an error.

See Also:
Serialized Form

Constructor Summary
UniqueConstraintViolationException(java.lang.String message, TreeNode originator)
           
 
Method Summary
 TreeNode getOriginator()
           
 
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

UniqueConstraintViolationException

public UniqueConstraintViolationException(java.lang.String message,
                                          TreeNode originator)
Method Detail

getOriginator

public TreeNode getOriginator()
Returns:
a clone of the node that caused this exception, containing the invalid value.