|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.hyades.logging.parsers.LogParserException
Subclass of java.lang.Exception. Parser classes in the org.eclipse.hyades.logging.parsers package throw exceptions of this class when a log cannot be parsed. A LogParserException can wrap another exception caught during the parse process.
| Constructor Summary | |
|---|---|
LogParserException()
Create a new LogParserException with no message. |
|
LogParserException(java.lang.String message)
Create a new LogParserException. |
|
LogParserException(java.lang.String message,
java.lang.Throwable e)
Create a new LogParserException from an existing exception. |
|
LogParserException(java.lang.Throwable e)
Create a new LogParserException wrapping an existing exception. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getException()
Return the embedded exception, if any. |
java.lang.String |
getMessage()
Return a detail message for this exception. |
void |
printStackTrace()
Override this method in the superclass in order to output the stack trace for the wrapped exception. |
void |
printStackTrace(java.io.PrintStream s)
Override this method in the superclass in order to output the stack trace for the wrapped exception. |
void |
printStackTrace(java.io.PrintWriter s)
Override this method in the superclass in order to output the stack trace for the wrapped exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LogParserException()
public LogParserException(java.lang.String message)
message - The error or warning message.public LogParserException(java.lang.Throwable e)
The existing exception will be embedded in the new one.
e - The exception to be wrapped in a LogParserException.
public LogParserException(java.lang.String message,
java.lang.Throwable e)
The existing exception will be embedded in the new one, but the new exception will have its own message.
message - The detail message.e - The exception to be wrapped in a LogParserException.| Method Detail |
public java.lang.String getMessage()
If there is an embedded exception, and if the LogParserException has no detail message of its own, this method will return the detail message from the embedded exception.
If there is an embedded exception, and the LogParserException has a detail message of its own, this method will append the embedded exception message to the LogParserException message and return it.
public java.lang.Throwable getException()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream s)
s - The stream to which the stack trace is writtenpublic void printStackTrace(java.io.PrintWriter s)
s - The writer to which the stack trace is written
|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||