|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRuntimeDroolsException
org.drools.lang.ParseException
public class ParseException
Constructor Summary | |
---|---|
ParseException(java.lang.String message,
int lineNumber)
Thrown if there is an exception related to parsing a line in a drl file. |
|
ParseException(java.lang.String message,
int lineNumber,
java.lang.Throwable cause)
Allows nesting of misc exceptions, yet preserving the line number that triggered the error. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
|
int |
getLineNumber()
The line number on which the error occurred. |
java.lang.String |
getMessage()
This will print out a summary, including the line number. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParseException(java.lang.String message, int lineNumber)
public ParseException(java.lang.String message, int lineNumber, java.lang.Throwable cause)
Method Detail |
---|
public int getLineNumber()
public java.lang.String getMessage()
public java.lang.String toString()
public java.lang.Throwable getCause()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |