Package nu.xom
Class WellformednessException
- Object
-
- Throwable
-
- Exception
-
- RuntimeException
-
- nu.xom.XMLException
-
- nu.xom.WellformednessException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IllegalAddException
,IllegalDataException
,NamespaceConflictException
public class WellformednessException extends XMLException
Indicates an attempt to do or create something that could not possibly be serialized in a namespace well-formed XML 1.0 document.
- Version:
- 1.1b3
- Author:
- Elliotte Rusty Harold
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WellformednessException(String message)
Creates a newWellformednessException
with a detail message.WellformednessException(String message, Throwable cause)
Creates a newWellformednessException
with a detail message and an underlying root cause.
-
Method Summary
-
Methods inherited from class nu.xom.XMLException
getCause, initCause
-
-
-
-
Constructor Detail
-
WellformednessException
public WellformednessException(String message)
Creates a new
WellformednessException
with a detail message.- Parameters:
message
- a string indicating the specific problem
-
WellformednessException
public WellformednessException(String message, Throwable cause)
Creates a new
WellformednessException
with a detail message and an underlying root cause.- Parameters:
message
- a string indicating the specific problemcause
- the original cause of this exception
-
-