org.inria.ns.reflex.xml
Class NamespaceException

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.NamespaceException
All Implemented Interfaces:
Serializable, Localizable

public class NamespaceException
extends XMLException

Denotes that an exception related to a namespace URI occurred, for example, when a prefix is not bound to a namespace URI.

Author:
Philippe Poulard
See Also:
Serialized Form

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

NamespaceException

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


NamespaceException

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

Parameters:
message - The detail message.

NamespaceException

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

Parameters:
cause - The cause.

NamespaceException

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

NamespaceException

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