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(java.lang.String message)
Creates a new XMLException with the given message.
|
SchemaException(java.lang.String message,
Location locator) |
SchemaException(java.lang.String message,
java.lang.Throwable exception)
Creates a new XMLException with the given message
and nested exception.
|
SchemaException(java.lang.Throwable exception)
Creates a new XMLException with the given nested
exception.
|
getErrorCodeLocalPart, getErrorCodeNamespace, getErrorCodeQName, getErrorObject, getHostLanguage, getLocator, getXPathContext, hasBeenReported, isGlobalError, isReportableStatically, isStaticError, isSyntaxError, isTypeError, makeXPathException, maybeSetContext, maybeSetErrorCode, maybeSetLocation, setErrorCode, setErrorCodeQName, setErrorObject, setHasBeenReported, setHostLanguage, setIsGlobalError, setIsStaticError, setIsSyntaxError, setIsTypeError, setLocation, setXPathContextgetCause, getException, getLocationAsString, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocatorpublic SchemaException(java.lang.String message,
Location locator)
public SchemaException(java.lang.String message)
message - the message for this Exceptionpublic SchemaException(java.lang.Throwable exception)
exception - the nested exceptionpublic SchemaException(java.lang.String message,
java.lang.Throwable exception)
message - the detail message for this exceptionexception - the nested exceptionCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.