public class ScriptException extends RuntimeException
Constructor and Description |
---|
ScriptException(String sMessage)
Create an instance of
ScriptException with the specified
message. |
ScriptException(String sMessage,
Throwable tCause)
Create an instance of
ScriptException with the specified
message and cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ScriptException(String sMessage)
ScriptException
with the specified
message.sMessage
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method)public ScriptException(String sMessage, Throwable tCause)
ScriptException
with the specified
message and cause.sMessage
- the detail message (which is saved for later retrieval
by the Throwable.getMessage()
method)tCause
- 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)