Package net.sf.saxon.type
Class SchemaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.transform.TransformerException
net.sf.saxon.trans.XPathException
net.sf.saxon.type.SchemaException
- All Implemented Interfaces:
- Serializable
An exception that identifies an error in reading, parsing, or
 validating a schema.
 
The reason this extends TransformerException is because of the pervasive use of the JAXP ErrorListener (which accepts a TransformerException) to provide error handling
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class net.sf.saxon.trans.XPathExceptionXPathException.Circularity, XPathException.StackOverflow
- 
Constructor SummaryConstructorsConstructorDescriptionSchemaException(String message) Creates a new XMLException with the given message.SchemaException(String message, Throwable exception) Creates a new XMLException with the given message and nested exception.SchemaException(String message, Location locator) SchemaException(Throwable exception) Creates a new XMLException with the given nested exception.
- 
Method SummaryMethods inherited from class net.sf.saxon.trans.XPathExceptionasStaticError, asTypeError, asTypeErrorIf, fromXmlProcessingError, getErrorCodeQName, getErrorObject, getFailingExpression, getHostLanguage, getLocator, getXPathContext, hasBeenReported, hasErrorCode, isGlobalError, isReportableStatically, isStaticError, isSyntaxError, isTypeError, makeXPathException, maybeSetContext, maybeSetErrorCode, maybeSetLocation, maybeWithContext, maybeWithErrorCode, maybeWithFailingExpression, maybeWithLocation, replacingErrorCode, setErrorCode, setErrorCodeQName, setErrorObject, setHasBeenReported, setHostLanguage, setHostLanguage, setIsGlobalError, setIsStaticError, setIsSyntaxError, setIsTypeError, setLocation, setXPathContext, showErrorCode, withErrorCode, withErrorCode, withFailingExpression, withLocation, withMessage, withXPathContextMethods inherited from class javax.xml.transform.TransformerExceptiongetCause, getException, getLocationAsString, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocatorMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
- 
Constructor Details- 
SchemaException
- 
SchemaExceptionCreates a new XMLException with the given message.- Parameters:
- message- the message for this Exception
 
- 
SchemaExceptionCreates a new XMLException with the given nested exception.- Parameters:
- exception- the nested exception
 
- 
SchemaExceptionCreates a new XMLException with the given message and nested exception.- Parameters:
- message- the detail message for this exception
- exception- the nested exception
 
 
-