Class ValidityViolation

  • All Implemented Interfaces:
    java.io.Serializable

    public class ValidityViolation
    extends org.xml.sax.SAXParseException
    Contains information about where and how validity violation was happened.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ValidityViolation​(org.xml.sax.Locator loc, java.lang.String msg, ErrorInfo ei)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ErrorInfo getErrorInfo()
      Gets the detailed error information, if any.
      • Methods inherited from class org.xml.sax.SAXParseException

        getColumnNumber, getLineNumber, getPublicId, getSystemId, toString
      • Methods inherited from class org.xml.sax.SAXException

        getCause, getException, getMessage
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

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

      • ValidityViolation

        public ValidityViolation​(org.xml.sax.Locator loc,
                                 java.lang.String msg,
                                 ErrorInfo ei)
    • Method Detail

      • getErrorInfo

        public ErrorInfo getErrorInfo()
        Gets the detailed error information, if any. If there is no detailed information available, it returns null. Otherwise one of the derived classes of ErrorInfo will be returned.