java.lang.Object
java.lang.Throwable
java.lang.Exception
io.xlate.edi.schema.EDISchemaException
- All Implemented Interfaces:
java.io.Serializable
public class EDISchemaException
extends java.lang.Exception
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EDISchemaException(java.lang.String message)
Construct an exception with the associated message.EDISchemaException(java.lang.String message, java.lang.Throwable cause)
Construct an exception with the associated message and exceptionEDISchemaException(java.lang.String message, javax.xml.stream.Location location, java.lang.Throwable cause)
Construct an exception with the associated message, exception and location. -
Method Summary
Modifier and Type Method Description javax.xml.stream.Location
getLocation()
Gets the location of the exceptionjava.lang.String
getOriginalMessage()
-
Field Details
-
Constructor Details
-
EDISchemaException
public EDISchemaException(java.lang.String message)Construct an exception with the associated message.- Parameters:
message
- the message to report
-
EDISchemaException
public EDISchemaException(java.lang.String message, java.lang.Throwable cause)Construct an exception with the associated message and exception- Parameters:
cause
- a nested exceptionmessage
- the message to report
-
EDISchemaException
public EDISchemaException(java.lang.String message, javax.xml.stream.Location location, java.lang.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
-
-
Method Details
-
getLocation
public javax.xml.stream.Location getLocation()Gets the location of the exception- Returns:
- the location of the exception, may be null if none is available
-
getOriginalMessage
public java.lang.String getOriginalMessage()
-