Class SchemaException

All Implemented Interfaces:
Serializable

public class SchemaException extends XPathException
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:
  • Constructor Details

    • SchemaException

      public SchemaException(String message, Location locator)
    • SchemaException

      public SchemaException(String message)
      Creates a new XMLException with the given message.
      Parameters:
      message - the message for this Exception
    • SchemaException

      public SchemaException(Throwable exception)
      Creates a new XMLException with the given nested exception.
      Parameters:
      exception - the nested exception
    • SchemaException

      public SchemaException(String message, Throwable exception)
      Creates a new XMLException with the given message and nested exception.
      Parameters:
      message - the detail message for this exception
      exception - the nested exception