java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.xlate.edi.stream.EDIValidationException
- All Implemented Interfaces:
Serializable
public class EDIValidationException extends RuntimeException
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected CharSequencedataprotected EDIStreamValidationErrorerrorprotected EDIStreamEventeventprotected Locationlocation -
Constructor Summary
Constructors Constructor Description EDIValidationException(EDIStreamEvent event, EDIStreamValidationError error, Location location, CharSequence data) -
Method Summary
Modifier and Type Method Description CharSequencegetData()EDIStreamValidationErrorgetError()EDIStreamEventgetEvent()LocationgetLocation()EDIValidationExceptiongetNextException()Retrieves the exception chained to thisEDIValidationExceptionobject by setNextException(EDIValidationException ex).voidsetNextException(EDIValidationException ex)Adds anEDIValidationExceptionobject to the end of the chain.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(io.xlate.edi.stream.EDIValidationException)
-
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:
getNextException()
-