Package 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
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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final longVersion number for the serialised class. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new exception for undeclared namespaces. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
static final long serialVersionUIDVersion number for the serialised class.- See Also:
-
-
Constructor Details
-
UndeclaredNamespaceException
Creates a new exception for undeclared namespaces.- Parameters:
uri- The namespace URI that has not been declared.
-