org.tmapi.core
Class TMAPIRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.tmapi.core.TMAPIRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MalformedIRIException, ModelConstraintException

public class TMAPIRuntimeException
extends java.lang.RuntimeException

Instances of this exception class should be thrown in cases where there is an error in the underlying topic map processing system or when integrity constraints are violated.

Version:
$Rev:$ - $Date:$
Author:
The TMAPI Project
See Also:
Serialized Form

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

TMAPIRuntimeException

public TMAPIRuntimeException(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.

TMAPIRuntimeException

public TMAPIRuntimeException(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.

TMAPIRuntimeException

public TMAPIRuntimeException(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.