|
|||||||||
| Home >> All >> org >> tm4j >> [ topicmap overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.tm4j.topicmap
Class TopicMapRuntimeException

java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.tm4j.topicmap.TopicMapRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- public class TopicMapRuntimeException
- extends java.lang.RuntimeException
Indicates that the engine encountered an unexpected condition at runtime.
Note for developers using Java 2 SDK 1.4:
In version 1.4 of the Java 2 SDK, two new constructors were
added to java.lang.RuntimeException which clash with
TopicMapRuntimeException(Exception) 55 and
TopicMapRuntimeException(String, Exception) 55 .
Furthermore, the getCause() 55 method clashes with a new
method of the same signature in java.lang.Throwable.
This may lead to conflicts when this class is compiled using
the Java 2 SDK 1.4. Please be advised that for the time being,
version 1.3 is SDK version TM4J officially supports.
| Nested Class Summary |
| Nested classes inherited from class java.lang.Throwable |
|
| Field Summary | |
private java.lang.Exception |
m_cause
The nested error wrapped by this exception. |
private java.lang.String |
m_msg
The detail message associated with this exception. |
| Fields inherited from class java.lang.RuntimeException |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
TopicMapRuntimeException(java.lang.Exception cause)
Creates an exception which wraps a nested error. |
|
TopicMapRuntimeException(java.lang.String msg)
Creates an exception which does not wrap a nested error. |
|
TopicMapRuntimeException(java.lang.String msg,
java.lang.Exception cause)
Creates an exception which wraps a nested error. |
|
| Method Summary | |
java.lang.Throwable |
getCause()
Returns the nested error which this TopicMapException wraps. |
java.lang.String |
getMessage()
Returns a displayable message for the exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
m_cause
private java.lang.Exception m_cause
- The nested error wrapped by this exception.
m_msg
private java.lang.String m_msg
- The detail message associated with this exception.
| Constructor Detail |
TopicMapRuntimeException
public TopicMapRuntimeException(java.lang.Exception cause)
- Creates an exception which wraps a nested error.
TopicMapRuntimeException
public TopicMapRuntimeException(java.lang.String msg, java.lang.Exception cause)
- Creates an exception which wraps a nested error.
TopicMapRuntimeException
public TopicMapRuntimeException(java.lang.String msg)
- Creates an exception which does not wrap a nested error.
| Method Detail |
getMessage
public java.lang.String getMessage()
- Returns a displayable message for the exception. If this exception wraps
a nested error, then the nested error's message is also shown.
getCause
public java.lang.Throwable getCause()
- Returns the nested error which this TopicMapException wraps.
|
|||||||||
| Home >> All >> org >> tm4j >> [ topicmap overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC