- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.xlate.edi.schema.EDISchemaException
-
- All Implemented Interfaces:
Serializable
public class EDISchemaException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EDISchemaException(String message)Construct an exception with the associated message.EDISchemaException(String message, Throwable cause)Construct an exception with the assocated message and exceptionEDISchemaException(String message, Location location)Construct an exception with the assocated message, exception and location.EDISchemaException(String message, Location location, Throwable cause)Construct an exception with the associated message, exception and location.EDISchemaException(Throwable cause)Construct an exception with the associated exception
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationgetLocation()Gets the location of the exceptionStringgetOriginalMessage()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
EDISchemaException
public EDISchemaException(String message)
Construct an exception with the associated message.- Parameters:
message- the message to report
-
EDISchemaException
public EDISchemaException(Throwable cause)
Construct an exception with the associated exception- Parameters:
cause- a nested exception
-
EDISchemaException
public EDISchemaException(String message, Throwable cause)
Construct an exception with the assocated message and exception- Parameters:
cause- a nested exceptionmessage- the message to report
-
EDISchemaException
public EDISchemaException(String message, Location location, Throwable cause)
Construct an exception with the associated message, exception and location.- Parameters:
message- the message to reportlocation- the location of the errorcause- a nested exception
-
-