public class ParseException extends RuntimeException
| Constructor and Description |
|---|
ParseException(String message,
int lineNumber)
Thrown if there is an exception related to parsing a line in a drl file.
|
ParseException(String message,
int lineNumber,
Throwable cause)
Allows nesting of misc exceptions, yet preserving the line number
that triggered the error.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause() |
int |
getLineNumber()
The line number on which the error occurred.
|
String |
getMessage()
This will print out a summary, including the line number.
|
String |
toString() |
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ParseException(String message, int lineNumber)
public int getLineNumber()
public String getMessage()
getMessage in class ThrowableCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.