org.tmapi.core
Class TMAPIException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.tmapi.core.TMAPIException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FactoryConfigurationException, TopicMapExistsException

public class TMAPIException
extends java.lang.Exception

The base class for all standard (non run-time) exceptions thrown by a TMAPI system.

Version:
$Rev: 62 $ - $Date: 2008-08-08 14:00:50 +0200 (Fr, 08 Aug 2008) $
Author:
The TMAPI Project
See Also:
Serialized Form

Constructor Summary
TMAPIException(java.lang.String message)
          Constructs a new throwable with the specified detail message.
TMAPIException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new throwable with the specified detail message.
TMAPIException(java.lang.Throwable cause)
          Constructs a new exception that wraps another exception.
 
Method Summary
 
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

TMAPIException

public TMAPIException(java.lang.String message,
                      java.lang.Throwable cause)
Constructs a new throwable with the specified detail message.

Parameters:
message - The detail message. This message is saved for later retrieval by the Throwable.getMessage() method.
cause - The throwable which caused this exception to be thrown. This value is saved for later retrieval by the Throwable.getCause() method.

TMAPIException

public TMAPIException(java.lang.String message)
Constructs a new throwable with the specified detail message.

Parameters:
message - The detail message. This message is saved for later retrieval by the Throwable.getMessage() method.

TMAPIException

public TMAPIException(java.lang.Throwable cause)
Constructs a new exception that wraps another exception.

Parameters:
cause - The throwable which caused this exception to be thrown. This value is saved for later retrieval by the Throwable.getCause() method.