Class XmlSchemaException

  • All Implemented Interfaces:
    Serializable

    public class XmlSchemaException
    extends RuntimeException
    The XmlSchemaException exception is thrown to indicate an error condition when working with an XML schema.
    Author:
    Marcus Portmann
    See Also:
    Serialized Form
    • Constructor Detail

      • XmlSchemaException

        public XmlSchemaException()
        Constructs a new XmlSchemaException with null as its message.
      • XmlSchemaException

        public XmlSchemaException​(String message)
        Constructs a new XmlSchemaException with the specified message.
        Parameters:
        message - The message saved for later retrieval by the getMessage() method.
      • XmlSchemaException

        public XmlSchemaException​(Throwable cause)
        Constructs a new XmlSchemaException with the specified cause and a message of (cause==null ? null : cause.toString()) (which typically contains the class and message of cause).
        Parameters:
        cause - The cause saved for later retrieval by the getCause() method. (A null value is permitted if the cause is nonexistent or unknown)
      • XmlSchemaException

        public XmlSchemaException​(String message,
                                  Throwable cause)
        Constructs a new XmlSchemaException with the specified message and cause.
        Parameters:
        message - The message saved for later retrieval by the getMessage() method.
        cause - The cause saved for later retrieval by the getCause() method. (A null value is permitted if the cause is nonexistent or unknown)