|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception net.sf.daileon.xml.XmlHandlerException
public class XmlHandlerException
The XmlHandlerException
class represents any problem that may
occur when serializing an Object
to a given OutputStream
, or when trying to transform to an Object
representation the
content of a given XML file, as an InputStream
.
Field Summary | |
---|---|
private static long |
serialVersionUID
serialVersionUID |
Constructor Summary | |
---|---|
XmlHandlerException()
Constructs a new exception with a default message as its detail message. |
|
XmlHandlerException(String message)
Constructs a new exception with the specified detail message. |
|
XmlHandlerException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause. |
|
XmlHandlerException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause == null ? |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public XmlHandlerException()
Throwable.initCause(java.lang.Throwable)
.
public XmlHandlerException(String message)
Throwable.initCause(java.lang.Throwable)
.
message
- The message that will be sent to the superclass constructor.public XmlHandlerException(Throwable cause)
(cause == null ? null : cause.toString())
(which
typically contains the class and detail message of cause
).
cause
- The cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null
value is
permitted, and indicates that the cause is nonexistent or
unknown.)public XmlHandlerException(String message, Throwable cause)
Note that the detail message associated with cause
is
not automatically incorporated in this exception's detail message.
message
- The detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).cause
- The cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null
value is
permitted, and indicates that the cause is nonexistent or
unknown.)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |