|
|||||||||||
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.apache.pluto.portalImpl.xml.XmlException
The XMLException
class defines a general exception
that may occur during portlet.xml or web.xml handling
Constructor Summary | |
XmlException()
Constructs a new xml exception. |
|
XmlException(java.lang.String text)
Constructs a new xml exception with the given text. |
|
XmlException(java.lang.String text,
java.lang.Throwable cause)
Constructs a new xml exception to throw an exception and include a message about the "root case" that interfered with its normal operation, including a description message. |
|
XmlException(java.lang.Throwable cause)
Constructs a new xml exception to throw an exception. |
Method Summary | |
java.lang.Throwable |
getRootCause()
Returns the exception that caused this xml exception. |
void |
printStackTrace()
Prints the stack trace of this exception to the standard error stream. |
void |
printStackTrace(java.io.PrintStream out)
Prints the stack trace of this exception to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter out)
Prints the stack trace of this exception to the specified print writer. |
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 XmlException()
public XmlException(java.lang.String text)
text
- the exception textpublic XmlException(java.lang.String text, java.lang.Throwable cause)
text
- the exception textcause
- the root causepublic XmlException(java.lang.Throwable cause)
cause
- the root causeMethod Detail |
public java.lang.Throwable getRootCause()
Throwable
that caused this xml exceptionpublic void printStackTrace()
public void printStackTrace(java.io.PrintStream out)
out
- the PrintStream
to use for outputpublic void printStackTrace(java.io.PrintWriter out)
out
- the PrintWriter
to use for output.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |