J avolution v3.7 (J2SE 1.5+)

javolution.xml
Class XmlException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javolution.xml.XmlException
All Implemented Interfaces:
java.io.Serializable

public class XmlException
extends java.lang.RuntimeException

Signals that a problem of some sort has occurred when serializing/deserializaing an object from its XML representation.

Version:
1.0, October 4, 2004
Author:
Jean-Marie Dautelle
See Also:
Serialized Form

Constructor Summary
XmlException()
          Constructs a XmlException with no detail message.
XmlException(java.lang.String message)
          Constructs a XmlException with the specified detail message.
XmlException(java.lang.String message, java.lang.Throwable cause)
          Constructs a XmlException with the specified detail message and cause.
XmlException(java.lang.Throwable cause)
          Constructs a XmlException with the specified cause.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the original cause of this xml exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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
 

Constructor Detail

XmlException

public XmlException()
Constructs a XmlException with no detail message.


XmlException

public XmlException(java.lang.String message)
Constructs a XmlException with the specified detail message.

Parameters:
message - the detail message.

XmlException

public XmlException(java.lang.String message,
                    java.lang.Throwable cause)
Constructs a XmlException with the specified detail message and cause.

Parameters:
message - the detail message.
cause - the cause.

XmlException

public XmlException(java.lang.Throwable cause)
Constructs a XmlException with the specified cause.

Parameters:
cause - the cause.
Method Detail

getCause

public java.lang.Throwable getCause()
Returns the original cause of this xml exception.

Overrides:
getCause in class java.lang.Throwable
Returns:
the cause of this exception or null if the cause is nonexistent or unknown.

J avolution v3.7 (J2SE 1.5+)

Copyright © 2006 Javolution.