|
OpenNMS API 1.2.3 | |||||||||
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
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.
Field Summary | |
private java.lang.Throwable |
m_delegate
The encapsulated throwable if any |
Fields inherited from class java.lang.RuntimeException |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
FilterParseException()
Constructs a new, empty filter parser exception. |
|
FilterParseException(java.lang.String msg)
Constructs a new parse exception with the passed message as its error text. |
|
FilterParseException(java.lang.String msg,
java.lang.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(java.io.PrintStream ps)
Prints the stack trace of the exception, and the encapsulated exception if any. |
void |
printStackTrace(java.io.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 |
Field Detail |
private java.lang.Throwable m_delegate
Constructor Detail |
public FilterParseException()
public FilterParseException(java.lang.String msg)
msg
- The exception text.public FilterParseException(java.lang.String msg, java.lang.Throwable t)
msg
- The exception text.t
- The cause of the failure.Method Detail |
public void printStackTrace()
public void printStackTrace(java.io.PrintStream ps)
ps
- The location to write the exception.public void printStackTrace(java.io.PrintWriter pw)
pw
- The location to write the exception.
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |