org.inria.ns.reflex.xml
Class XMLException

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
All Implemented Interfaces:
Serializable, Localizable
Direct Known Subclasses:
NamespaceException, PatternEvaluationException, SerializeException, UnmarshalException, XFactoryConfigurationException, XIncludeLoopException, XPathException, XPointerEvaluationException

public abstract class XMLException
extends LocalizableException

Denotes that an exception related to XML occurred.

When this exception occurs in the context of a processor

This exception can't be recovered by the processor that performs the operation that cause the exception. However, if this processor is itself hosted by another processor, it must be wrapped in a RecoverableException that will be processed by the outer processor.

Author:
Philippe Poulard
See Also:
RecoverableException, Serialized Form

Constructor Summary
XMLException()
          Constructs a new XMLException without detail message and cause.
XMLException(Exception cause)
          Constructs a new XMLException with the specified cause.
XMLException(Localizable localizable, String msg)
          Constructs a new XMLException with the specified detail message and cause.
XMLException(Localizable localizable, String message, Throwable cause)
          Constructs a new XMLException with the specified detail message and cause.
XMLException(Localizable localizable, Throwable cause)
          Constructs a new XMLException with the specified detail message and cause.
XMLException(String message)
          Constructs a new XMLException with the specified detail message.
XMLException(String message, Throwable cause)
          Constructs a new XMLException with the specified detail message and cause.
XMLException(Throwable cause)
          Constructs a new XMLException 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

XMLException

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


XMLException

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

Parameters:
message - The detail message.

XMLException

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

Parameters:
cause - The cause.

XMLException

public XMLException(String message,
                    Throwable cause)
Constructs a new XMLException 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.

XMLException

public XMLException(Throwable cause)
Constructs a new XMLException 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.

XMLException

public XMLException(Localizable localizable,
                    String msg)
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.

XMLException

public XMLException(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.

XMLException

public XMLException(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.