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
-
Field Summary
-
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 associated message and exceptionEDISchemaException(String message, Location location, Throwable cause)Construct an exception with the associated message, exception and location. -
Method Summary
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
-
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
-