|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.rules.RuleException
Base class for all Exception classes in the javax.rules package.
| Field Summary | |
protected java.lang.Throwable |
embeddedException
The embedded exception. |
| Constructor Summary | |
RuleException(java.lang.String message)
Creates a RuleException with a given message. |
|
RuleException(java.lang.String message,
java.lang.Throwable exception)
Creates a RuleException with a given message and nested exception. |
|
| Method Summary | |
java.lang.Throwable |
getCause()
Returns the embedded exception. |
void |
printStackTrace()
Designed to print the stack trace of this exception, as well as the exception it is chained to, if applicable. |
void |
printStackTrace(java.io.PrintStream out)
Designed to print the stack trace of this exception, as well as the exception it is chained to, if applicable. |
void |
printStackTrace(java.io.PrintWriter out)
Designed to print the stack trace of this exception, as well as the exception it is chained to, if applicable. |
java.lang.String |
toString()
This method is for debugging only and may change at anytime. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.Throwable embeddedException
| Constructor Detail |
public RuleException(java.lang.String message)
message - the exception message.
public RuleException(java.lang.String message,
java.lang.Throwable exception)
message - The exception message.exception - The nested exception.| Method Detail |
public java.lang.Throwable getCause()
public void printStackTrace(java.io.PrintStream out)
out - PrintStream used to output the stack tracepublic void printStackTrace(java.io.PrintWriter out)
out - PrintWriter used to output the stack tracepublic void printStackTrace()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||