java.lang.Object
java.lang.Throwable
java.lang.Exception
io.xlate.edi.schema.EDISchemaException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEDISchemaException(String message) Construct an exception with the associated message.EDISchemaException(String message, Throwable cause) Construct an exception with the associated message and exceptionEDISchemaException(String message, Location location, Throwable cause) Construct an exception with the associated message, exception and location. -
Method Summary
Modifier and TypeMethodDescriptionGets the location of the exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
location
-
message
-
-
Constructor Details
-
EDISchemaException
Construct an exception with the associated message.- Parameters:
message- the message to report
-
EDISchemaException
Construct an exception with the associated message and exception- Parameters:
cause- a nested exceptionmessage- the message to report
-
EDISchemaException
Construct an exception with the associated message, exception and location.- Parameters:
message- the message to reportlocation- the location of the errorcause- a nested exception
-
-
Method Details
-
getLocation
Gets the location of the exception- Returns:
- the location of the exception, may be null if none is available
-
getOriginalMessage
-