|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--com.sap.tc.complib.xml.ParserException
This exception is used to report problems with the instantiation of the XML parser used by XMLRequest.
| Constructor Summary | |
ParserException()
Create a new ParserException without message. |
|
ParserException(java.lang.String message)
Create a new ParserException. |
|
ParserException(java.lang.String message,
java.lang.Throwable cause)
Create a new ParserException from an existing exception. |
|
ParserException(java.lang.Throwable cause)
Create a new ParserException wrapping an existing exception. |
|
| Method Summary | |
java.lang.Throwable |
getCause()
Return the embedded exception, if any. |
java.lang.String |
getMessage()
Return a detail message for this exception. |
void |
printStackTrace()
Prints this exception and its backtrace to the standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints this exception and its backtrace to the given stream. |
void |
printStackTrace(java.io.PrintWriter s)
Prints this exception and its backtrace to the given stream. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ParserException()
public ParserException(java.lang.String message)
message - - the error or warning message.public ParserException(java.lang.Throwable cause)
The existing exception will be embedded in the new one, and its message will become the default message for the ParserException.
e - - the exception to be wrapped in this EmbeddedException.
public ParserException(java.lang.String message,
java.lang.Throwable cause)
The existing exception will be embedded in the new one, but the new exception will have its own message.
message - - the detail message.cause - - the exception to be wrapped in this ParserException.| Method Detail |
public java.lang.String getMessage()
If there is an embedded exception, and if the EmbeddedException has no detail message of its own, this method will return the detail message from the embedded exception.
getMessage in class java.lang.Throwablepublic java.lang.Throwable getCause()
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream s)
printStackTrace in class java.lang.Throwables - the output stream to use for backtracing.public void printStackTrace(java.io.PrintWriter s)
printStackTrace in class java.lang.Throwables - the output stream writer to use for backtracing.
|
Copyright @ 2002 SAP. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||