|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.tm4j.topicmap.TopicMapProviderException
Indicates that a topic map provider encountered an unexpected condition.
TopicMapProvider
,
Serialized FormField Summary | |
protected static java.lang.String |
DEFAULT_MESSAGE
The default detail message associated with this exception. |
protected java.lang.String |
m_errorString
The detail message associated with this exception. |
protected java.lang.Exception |
m_nestedException
The nested error wrapped by this exception. |
Constructor Summary | |
TopicMapProviderException(java.lang.Exception ex)
Creates an provider exception which wraps a nested error. |
|
TopicMapProviderException(java.lang.String msg)
Creates a provider exception which does not wrap a nested error. |
|
TopicMapProviderException(java.lang.String msg,
java.lang.Exception cause)
Creates a provider exception which wraps a nested error. |
Method Summary | |
java.lang.Throwable |
getCause()
Returns the nested exception that led to this exception being thrown |
java.lang.String |
getMessage()
Returns a displayable message for the exception. |
void |
printStackTrace()
|
java.lang.String |
toString()
Returns a string representation of the provider exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static final java.lang.String DEFAULT_MESSAGE
protected java.lang.Exception m_nestedException
protected java.lang.String m_errorString
Constructor Detail |
public TopicMapProviderException(java.lang.Exception ex)
ex
- The original exception which caused the provider exception.public TopicMapProviderException(java.lang.String msg)
msg
- The error message associated with the exception.public TopicMapProviderException(java.lang.String msg, java.lang.Exception cause)
msg
- The error message associated with this exception.cause
- The nested exception which is wrapped by this exception.Method Detail |
public java.lang.String getMessage()
public java.lang.Throwable getCause()
public java.lang.String toString()
public void printStackTrace()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |