Package org.exolab.castor.xml.dtd
Class DTDException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.exolab.castor.xml.dtd.DTDException
- All Implemented Interfaces:
Serializable
This exception is thrown in the following cases:
- if a DTD document does not comply with DTD syntax and the parser is unable to parse the document;
- if a DTD document, though syntactically is well formed, but semantically is not correct, for example if an attribute is defined for an undefined element.
Exception
for now.- Version:
- $Revision: 5951 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
- Author:
- Alexander Totok
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDTDException
(String message) Constructor, setting the message of the exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DTDException
public DTDException() -
DTDException
Constructor, setting the message of the exception.
-