Class DTDException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DTDException
    extends java.lang.Exception
    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.
    Simply extends Exception for now.
    Version:
    $Revision: 5951 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
    Author:
    Alexander Totok
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DTDException()  
      DTDException​(java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DTDException

        public DTDException()
      • DTDException

        public DTDException​(java.lang.String message)
        Constructor, setting the message of the exception.