Package africa.absa.inception.core.xml
Class XmlSchemaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- africa.absa.inception.core.xml.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 Summary
Constructors Constructor Description XmlSchemaException()Constructs a new XmlSchemaException with null as its message.XmlSchemaException(String message)Constructs a new XmlSchemaException with the specified message.XmlSchemaException(String message, Throwable cause)Constructs a new XmlSchemaException with the specified message and cause.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).
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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)
-
-