com.sun.msv.verifier
Class ErrorInfo

java.lang.Object
  extended by com.sun.msv.verifier.ErrorInfo
Direct Known Subclasses:
ErrorInfo.BadText, ErrorInfo.ElementErrorInfo

public abstract class ErrorInfo
extends Object

Instances of this class is attached to ValidityViolation to provide detailed information about the error.

WARNING: error information is highly sensitive to the internal change of MSV. A new subclass of ErrorInfo may be added, or existing subclasses may be removed. So your code that uses this information may be affected by future changes of MSV.

Author:
Kohsuke KAWAGUCHI

Nested Class Summary
static class ErrorInfo.BadAttribute
          Bad attribute.
static class ErrorInfo.BadTagName
          Bad tag name.
static class ErrorInfo.BadText
          Bad text.
static class ErrorInfo.ElementErrorInfo
          Base class for element related errors.
static class ErrorInfo.IncompleteContentModel
          This error occurs when MSV sees an end tag unexpectedly.
static class ErrorInfo.MissingAttribute
          Missing attribute.
 
Constructor Summary
ErrorInfo()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorInfo

public ErrorInfo()