public class SchemaException
extends javax.xml.transform.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(java.lang.String message)
Creates a new XMLException with the given message.
|
SchemaException(java.lang.String message,
javax.xml.transform.SourceLocator 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.
|
getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
public SchemaException(java.lang.String message, javax.xml.transform.SourceLocator 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-2014 Saxonica Limited. All rights reserved.