net.sf.daileon.xml
Class XmlHandlerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sf.daileon.xml.XmlHandlerException
All Implemented Interfaces:
Serializable

public class XmlHandlerException
extends Exception

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.

Version:
1.0 01/01/2010
Author:
Beto
See Also:
Serialized Form

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

serialVersionUID

private static final long serialVersionUID
serialVersionUID

See Also:
Constant Field Values
Constructor Detail

XmlHandlerException

public XmlHandlerException()
Constructs a new exception with a default message as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).


XmlHandlerException

public XmlHandlerException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).

Parameters:
message - The message that will be sent to the superclass constructor.

XmlHandlerException

public XmlHandlerException(Throwable cause)
Constructs a new exception with the specified cause and a detail message of (cause == null ? null : cause.toString()) (which typically contains the class and detail message of cause).

Parameters:
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.)

XmlHandlerException

public XmlHandlerException(String message,
                           Throwable cause)
Constructs a new exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
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.)