public class SchemaException extends XPathException
The reason this extends TransformerException is because of the pervasive use of the JAXP ErrorListener (which accepts a TransformerException) to provide error handling
XPathException.Circularity
Constructor and Description |
---|
SchemaException(String message)
Creates a new XMLException with the given message.
|
SchemaException(String message,
Location locator) |
SchemaException(String message,
Throwable exception)
Creates a new XMLException with the given message
and nested exception.
|
SchemaException(Throwable exception)
Creates a new XMLException with the given nested
exception.
|
getAdditionalLocationText, getErrorCodeLocalPart, getErrorCodeNamespace, getErrorCodeQName, getErrorObject, getHostLanguage, getLocator, getXPathContext, hasBeenReported, isGlobalError, isReportableStatically, isStaticError, isSyntaxError, isTypeError, makeXPathException, maybeSetContext, maybeSetErrorCode, maybeSetLocation, setAdditionalLocationText, setErrorCode, setErrorCodeQName, setErrorObject, setHasBeenReported, setHostLanguage, setIsGlobalError, setIsStaticError, setIsSyntaxError, setIsTypeError, setLocation, setXPathContext
getCause, getException, getLocationAsString, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
public SchemaException(String message)
message
- the message for this Exceptionpublic SchemaException(Throwable exception)
exception
- the nested exceptionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.