com.sun.msv.verifier
Class ValidityViolation

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.xml.sax.SAXException
              extended byorg.xml.sax.SAXParseException
                  extended bycom.sun.msv.verifier.ValidityViolation
All Implemented Interfaces:
Serializable

public class ValidityViolation
extends SAXParseException

Contains information about where and how validity violation was happened.

Author:
Kohsuke KAWAGUCHI
See Also:
Serialized Form

Constructor Summary
ValidityViolation(Locator loc, String msg, ErrorInfo ei)
           
 
Method Summary
 ErrorInfo getErrorInfo()
          Gets the detailed error information, if any.
 
Methods inherited from class org.xml.sax.SAXParseException
getColumnNumber, getLineNumber, getPublicId, getSystemId
 
Methods inherited from class org.xml.sax.SAXException
getException, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidityViolation

public ValidityViolation(Locator loc,
                         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.