net.ontopia.topicmaps.core
Class UniquenessViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.ontopia.utils.OntopiaRuntimeException
                  extended by net.ontopia.topicmaps.core.ConstraintViolationException
                      extended by net.ontopia.topicmaps.core.UniquenessViolationException
All Implemented Interfaces:
java.io.Serializable

public class UniquenessViolationException
extends ConstraintViolationException

PUBLIC: Thrown when a uniqueness constraint is violated.

Extends ConstraintViolationException but does not provide additional methods; this is because the purpose is just to provide a different exception, to allow API users to handle them differently.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.ontopia.utils.OntopiaRuntimeException
cause
 
Constructor Summary
UniquenessViolationException(java.lang.String message)
           
UniquenessViolationException(java.lang.String message, java.lang.Throwable cause)
           
UniquenessViolationException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class net.ontopia.utils.OntopiaRuntimeException
getCause, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UniquenessViolationException

public UniquenessViolationException(java.lang.Throwable cause)

UniquenessViolationException

public UniquenessViolationException(java.lang.String message)

UniquenessViolationException

public UniquenessViolationException(java.lang.String message,
                                    java.lang.Throwable cause)


Copyright © 2000-2012 Ontopia.