Package com.sun.msv.verifier.psvi
Class TypeDetector.AmbiguousDocumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xml.sax.SAXException
com.sun.msv.verifier.psvi.TypeDetector.AmbiguousDocumentException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- TypeDetector
signals that the document is ambiguous.
This exception is thrown when
- we cannot uniquely assign the type for given characters.
- or we cannot uniquely determine the type for the element when we reached the end element.
The latter case happens for patterns like:
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.xml.sax.SAXException
getCause, getException, getMessage, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
AmbiguousDocumentException
public AmbiguousDocumentException()
-
-
Method Details
-
getLocation
Locator getLocation()returns the source of the error.
-