public class XmlException
extends java.lang.Exception
XMLException
class defines a general exception
that may occur during portlet.xml or web.xml handlingConstructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 causepublic java.lang.Throwable getRootCause()
Throwable
that caused this xml exceptionpublic void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream out)
printStackTrace
in class java.lang.Throwable
out
- the PrintStream
to use for outputpublic void printStackTrace(java.io.PrintWriter out)
printStackTrace
in class java.lang.Throwable
out
- the PrintWriter
to use for output.Copyright © 2003-2013 . All Rights Reserved.