com.sun.msv.verifier

Class ValidityViolation


public class ValidityViolation
extends SAXParseException

Contains information about where and how validity violation was happened.
Author:
Kohsuke KAWAGUCHI

Constructor Summary

ValidityViolation(Locator loc, String msg, ErrorInfo ei)

Method Summary

ErrorInfo
getErrorInfo()
Gets the detailed error information, if any.

Constructor Details

ValidityViolation

public ValidityViolation(Locator loc,
                         String msg,
                         ErrorInfo ei)

Method Details

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.