org.inria.ns.reflex.xml.serialize
Class SerializeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.inria.ns.reflex.structures.LocalizableException
              extended by org.inria.ns.reflex.xml.XMLException
                  extended by org.inria.ns.reflex.xml.serialize.SerializeException
All Implemented Interfaces:
Serializable, Localizable

public class SerializeException
extends XMLException

An exception that can occur while serializing.

Author:
Philippe Poulard
See Also:
Serialized Form

Constructor Summary
SerializeException()
          Constructs a new SerializeException without detail message and cause.
SerializeException(Exception cause)
          Constructs a new SerializeException with the specified cause.
SerializeException(Localizable localizable, String msg)
          Constructs a new SerializeException with the specified detail message and cause.
SerializeException(Localizable localizable, String message, Throwable cause)
          Constructs a new XMLException with the specified detail message and cause.
SerializeException(Localizable localizable, Throwable cause)
          Constructs a new XMLException with the specified detail message and cause.
SerializeException(String message)
          Constructs a new SerializeException with the specified detail message.
SerializeException(String message, Throwable cause)
          Constructs a new SerializeException with the specified detail message and cause.
SerializeException(Throwable cause)
          Constructs a new SerializeException with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class org.inria.ns.reflex.structures.LocalizableException
getLocalizedMessage, getLocation, isLocalizable, setLocation, wasTraced
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerializeException

public SerializeException()
Constructs a new SerializeException without detail message and cause.


SerializeException

public SerializeException(String message)
Constructs a new SerializeException with the specified detail message. The cause is not initialized.

Parameters:
message - The detail message.

SerializeException

public SerializeException(Exception cause)
Constructs a new SerializeException with the specified cause.

Parameters:
cause - The cause.

SerializeException

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

Parameters:
message - The detail message.
cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.

SerializeException

public SerializeException(Throwable cause)
Constructs a new SerializeException with the specified detail message and cause.

Parameters:
cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.

SerializeException

public SerializeException(Localizable localizable,
                          String msg)
Constructs a new SerializeException with the specified detail message and cause.

Parameters:
localizable - The localizable that contains the source file in fault, or null.
message - The detail message.
cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.

SerializeException

public SerializeException(Localizable localizable,
                          String message,
                          Throwable cause)
Constructs a new XMLException with the specified detail message and cause.

Parameters:
localizable - The localizable that contains the source file in fault, or null.
message - The detail message.
cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.

SerializeException

public SerializeException(Localizable localizable,
                          Throwable cause)
Constructs a new XMLException with the specified detail message and cause.

Parameters:
localizable - The localizable that contains the source file in fault, or null.
message - The detail message.
cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.