org.tm4j.topicmap
Class IntegrityViolationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.tm4j.topicmap.TopicMapProcessingException
              extended byorg.tm4j.topicmap.IntegrityViolationException
All Implemented Interfaces:
java.io.Serializable

public class IntegrityViolationException
extends TopicMapProcessingException

Thrown if an attempt is made to modify a TopicMap or TopicMapObject in such a way that would cause referential integrity of the TopicMap to be compromised. Currently, this exception is only thrown when an attempt is made to destroy a TopicMapObject which is still being referred to by other objects in the same TopicMap.

Author:
Kal Ahmed, Harald Kuhn
See Also:
Serialized Form

Constructor Summary
IntegrityViolationException()
           
IntegrityViolationException(java.lang.Exception cause)
           
IntegrityViolationException(java.lang.String msg)
           
IntegrityViolationException(java.lang.String msg, java.lang.Exception cause)
           
 
Methods inherited from class org.tm4j.topicmap.TopicMapProcessingException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

IntegrityViolationException

public IntegrityViolationException()

IntegrityViolationException

public IntegrityViolationException(java.lang.String msg)

IntegrityViolationException

public IntegrityViolationException(java.lang.Exception cause)
Parameters:
cause - a Exception beeing the cause for this exception

IntegrityViolationException

public IntegrityViolationException(java.lang.String msg,
                                   java.lang.Exception cause)
Parameters:
msg - a Message
cause - a Exception beeing the cause for this exception