org.tm4j.topicmap
Class TopicMapProcessingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.tm4j.topicmap.TopicMapProcessingException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DuplicateObjectIDException, DuplicateResourceLocatorException, DuplicateTopicException, IntegrityViolationException, MergedTopicSubjectClashException, TopicNotFoundException, UnifiedTopicMapException, WriterPropertyNotRecognizedException

public class TopicMapProcessingException
extends java.lang.Exception

Indicates that the engine encountered an unexpected condition during topic map processing. Examples of conditions causing this exception to be thrown include:

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

Constructor Summary
TopicMapProcessingException()
          Constructs a new topic map processing exception without a detail message.
TopicMapProcessingException(java.lang.Exception cause)
          Creates an exception which wraps a nested error.
TopicMapProcessingException(java.lang.String msg)
          Constructs a new topic map processing exception with the specified detail message.
TopicMapProcessingException(java.lang.String msg, java.lang.Exception cause)
          Creates an exception which wraps a nested error.
 
Method Summary
 java.lang.Throwable getCause()
          This method will override the getCause Method when compiled with JDK1.4
 
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

TopicMapProcessingException

public TopicMapProcessingException(java.lang.Exception cause)
Creates an exception which wraps a nested error.

Parameters:
cause - The nested exception which is wrapped by this exception.

TopicMapProcessingException

public TopicMapProcessingException(java.lang.String msg,
                                   java.lang.Exception cause)
Creates an exception which wraps a nested error.

Parameters:
msg - The error message associated with this exception.
cause - The nested exception which is wrapped by this exception.

TopicMapProcessingException

public TopicMapProcessingException()
Constructs a new topic map processing exception without a detail message.


TopicMapProcessingException

public TopicMapProcessingException(java.lang.String msg)
Constructs a new topic map processing exception with the specified detail message.

Parameters:
msg - The detail message to be associated with this exception.
Method Detail

getCause

public java.lang.Throwable getCause()
This method will override the getCause Method when compiled with JDK1.4

Returns:
a Exception specified in the constructor or null