public class FoTreeException
extends java.lang.Exception
Constructor and Description |
---|
FoTreeException(java.lang.String message)
Create a new FoTreeException.
|
FoTreeException(java.lang.String message,
java.lang.Throwable cause)
Create a new FoTreeException.
|
FoTreeException(java.lang.Throwable cause)
Create a new FoTreeException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
boolean |
isContextSet()
Indicates whether the context message has been set.
|
void |
setContextMessage(java.lang.String newContextMessage)
Sets the optional context message.
|
public FoTreeException(java.lang.String message)
Exception.Exception(java.lang.String)
message
- The detail message. The detail message is saved for later
retrieval by the getMessage()
method.Exception.Exception(java.lang.String)
public FoTreeException(java.lang.Throwable cause)
Exception.Exception(java.lang.Throwable)
cause
- The cause (which is saved for later retrieval by the
Throwable.getCause()
method).
(A null value is permitted, and indicates that the cause is
nonexistent or unknown.)Exception.Exception(java.lang.Throwable)
public FoTreeException(java.lang.String message, java.lang.Throwable cause)
Exception.Exception(java.lang.String,
java.lang.Throwable)
message
- The detail message. The detail message is saved for later
retrieval by the getMessage()
method.cause
- The cause (which is saved for later retrieval by the
Throwable.getCause()
method).
(A null value is permitted, and indicates that the cause is
nonexistent or unknown.)Exception.Exception(java.lang.String, java.lang.Throwable)
public void setContextMessage(java.lang.String newContextMessage)
newContextMessage
- The new context message.public boolean isContextSet()
setContextMessage(String)
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.