public class SchemaException extends TransformerException
The reason this extends TransformerException is because of the pervasive use of the JAXP ErrorListener (which accepts a TransformerException) to provide error handling
| Constructor and Description |
|---|
SchemaException(String message)
Creates a new XMLException with the given message.
|
SchemaException(String message,
SourceLocator 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.
|
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocatoraddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toStringpublic SchemaException(String message, SourceLocator locator)
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.