com.sun.msv.verifier
Class ValidityViolation
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xml.sax.SAXException
org.xml.sax.SAXParseException
com.sun.msv.verifier.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.
- Author:
- Kohsuke KAWAGUCHI
- See Also:
- Serialized Form
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 |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ValidityViolation
public ValidityViolation(org.xml.sax.Locator loc,
java.lang.String msg,
ErrorInfo ei)
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.