java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.xlate.edi.stream.EDIValidationException
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CharSequenceprotected final EDIStreamValidationErrorprotected final EDIStreamEventprotected final Location -
Constructor Summary
ConstructorsConstructorDescriptionEDIValidationException(EDIStreamEvent event, EDIStreamValidationError error, Location location, CharSequence data) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
event
-
error
-
location
-
data
-
-
Constructor Details
-
EDIValidationException
public EDIValidationException(EDIStreamEvent event, EDIStreamValidationError error, Location location, CharSequence data)
-
-
Method Details
-
getEvent
-
getError
-
getLocation
-
getData
-
getNextException
Retrieves the exception chained to thisEDIValidationExceptionobject by setNextException(EDIValidationException ex).- Returns:
- the next
EDIValidationExceptionobject in the chain;nullif there are none - See Also:
-
setNextException
Adds anEDIValidationExceptionobject to the end of the chain.- Parameters:
ex- the new exception that will be added to the end of theEDIValidationExceptionchain- See Also:
-