public class ParseException
extends org.drools.core.RuntimeDroolsException
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, setStackTrace
public ParseException(String message, int lineNumber)
public int getLineNumber()
public String getMessage()
getMessage
in class Throwable
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.