java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.xlate.edi.stream.EDIValidationException
- All Implemented Interfaces:
java.io.Serializable
public class EDIValidationException
extends java.lang.RuntimeException
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.CharSequencedataprotected EDIStreamValidationErrorerrorprotected EDIStreamEventeventprotected Locationlocation -
Constructor Summary
Constructors Constructor Description EDIValidationException(EDIStreamEvent event, EDIStreamValidationError error, Location location, java.lang.CharSequence data) -
Method Summary
Modifier and Type Method Description java.lang.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.
-
Field Details
-
Constructor Details
-
EDIValidationException
public EDIValidationException(EDIStreamEvent event, EDIStreamValidationError error, Location location, java.lang.CharSequence data)
-
-
Method Details
-
getEvent
-
getError
-
getLocation
-
getData
public java.lang.CharSequence 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()
-