Class SchemaException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SchemaException
    extends javax.xml.transform.TransformerConfigurationException
    An exception that identifies an error in reading, parsing, or validating a schema.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SchemaException()
      Creates a new XMLException with no message or nested Exception.
      SchemaException​(java.lang.String message)
      Creates a new XMLException with the given message.
      SchemaException​(java.lang.String message, java.lang.Throwable exception)
      Creates a new XMLException with the given message and nested exception.
      SchemaException​(java.lang.String message, javax.xml.transform.SourceLocator locator)  
      SchemaException​(java.lang.Throwable exception)
      Creates a new XMLException with the given nested exception.
    • Method Summary

      • Methods inherited from class javax.xml.transform.TransformerException

        getCause, getException, getLocationAsString, getLocator, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SchemaException

        public SchemaException()
        Creates a new XMLException with no message or nested Exception.
      • SchemaException

        public SchemaException​(java.lang.String message,
                               javax.xml.transform.SourceLocator locator)
      • SchemaException

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

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

        public SchemaException​(java.lang.String message,
                               java.lang.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