|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.drools.DroolsException
public class DroolsException
Base drools Logic Engine
exception.
Constructor Summary | |
---|---|
DroolsException()
Construct. |
|
DroolsException(String msg)
Construct with a message. |
|
DroolsException(String msg,
Throwable rootCause)
Construct with a message and root cause. |
|
DroolsException(Throwable rootCause)
Construct with a root cause. |
Method Summary | |
---|---|
String |
getLocalizedMessage()
Retrieve the error message localized to the default locale. |
String |
getMessage()
Retrieve the error message. |
Throwable |
getRootCause()
Get the root cause, if any. |
void |
printStackTrace(PrintStream s)
Print the stack trace. |
void |
printStackTrace(PrintWriter s)
Print the stack trace. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DroolsException()
public DroolsException(String msg)
msg
- The message.public DroolsException(Throwable rootCause)
rootCause
- The root cause of this exception.public DroolsException(String msg, Throwable rootCause)
rootCause
- The root cause of this exception.Method Detail |
---|
public Throwable getRootCause()
Throwable
,
if this exception has a root cause, else null
.public String getMessage()
getMessage
in class Throwable
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
s
- The output sink.public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
s
- The output sink.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |