net.ontopia.topicmaps.core
Class ConstraintViolationException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CrossTopicMapException, InvalidTopicMapException, NotRemovableException, ObjectRemovedException, UniquenessViolationException

public class ConstraintViolationException
extends OntopiaRuntimeException

PUBLIC: Thrown when an object model constraint is violated.

Extends OntopiaRuntimeException 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
ConstraintViolationException(java.lang.String message)
           
ConstraintViolationException(java.lang.String message, java.lang.Throwable cause)
           
ConstraintViolationException(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

ConstraintViolationException

public ConstraintViolationException(java.lang.Throwable cause)

ConstraintViolationException

public ConstraintViolationException(java.lang.String message)

ConstraintViolationException

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


Copyright © 2000-2012 Ontopia.