com.topologi.diffx.xml
Class UndeclaredNamespaceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.topologi.diffx.xml.UndeclaredNamespaceException
- All Implemented Interfaces:
- Serializable
public final class UndeclaredNamespaceException
- extends RuntimeException
Class of exceptions thrown when a namespace is being used without being declared.
To avoid this exception being thrown, the namespace URI must be explicitely associated
with a prefix before a node belonging to this namespace is serialiased. Namespaces can be
declared using the XMLWriter.setPrefixMapping(String, String)
method.
- Version:
- 14 May 2005
- Author:
- Christophe Lauret (Allette Systems)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UndeclaredNamespaceException
public UndeclaredNamespaceException(String uri)
- Creates a new exception for undeclared namespaces.
- Parameters:
uri
- The namespace URI that has not been declared.