public class XmlWriterRuntimeException extends RuntimeException
Constructor and Description |
---|
XmlWriterRuntimeException(Exception ex)
Constructs a new
XmlWriterRuntimeException with the
specified detail message. |
XmlWriterRuntimeException(String s)
Constructs a new
XmlWriterRuntimeException with the
specified detail message. |
XmlWriterRuntimeException(String s,
Exception ex)
Constructs a new
XmlWriterRuntimeException with the
specified detail message. |
Modifier and Type | Method and Description |
---|---|
Exception |
getException()
Returns the original enclosed exception or null if any.
|
String |
getMessage()
Returns the message of this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public XmlWriterRuntimeException(String s)
XmlWriterRuntimeException
with the
specified detail message.s
- the detail message of this exceptionpublic XmlWriterRuntimeException(Exception ex)
XmlWriterRuntimeException
with the
specified detail message.ex
- the enclosed exceptionpublic String getMessage()
getMessage
in class Throwable
public Exception getException()