|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opennms.netmgt.filter.FilterParseException
public class FilterParseException
This class is used to indicate a failure of the Filter engine to correctly parse a filter expression. If the error was caused by an undeclared exception during processing, that exception is also encapsulated by the exception.
| Constructor Summary | |
|---|---|
FilterParseException()
Constructs a new, empty filter parser exception. |
|
FilterParseException(String msg)
Constructs a new parse exception with the passed message as its error text. |
|
FilterParseException(String msg,
Throwable t)
Constructs a new parse exception with the passed message as the error text and the throwable as the encapsulated error causing the failure. |
|
| Method Summary | |
|---|---|
void |
printStackTrace()
Prints the stack trace of the exception, and the encapsulated exception if any. |
void |
printStackTrace(PrintStream ps)
Prints the stack trace of the exception, and the encapsulated exception if any. |
void |
printStackTrace(PrintWriter pw)
Prints the stack trace of the exception, and the encapsulated exception if any. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FilterParseException()
public FilterParseException(String msg)
msg - The exception text.
public FilterParseException(String msg,
Throwable t)
msg - The exception text.t - The cause of the failure.| Method Detail |
|---|
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream ps)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter pw)
printStackTrace in class Throwablepw - The location to write the exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||