java.lang.Object
java.lang.Throwable
java.lang.Exception
io.xlate.edi.stream.EDIStreamException
- All Implemented Interfaces:
java.io.Serializable
public class EDIStreamException
extends java.lang.Exception
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EDIStreamException(java.lang.String message)Construct an exception with the associated message.EDIStreamException(java.lang.String message, Location location)Construct an exception with the associated message, exception and location.EDIStreamException(java.lang.String message, Location location, java.lang.Throwable cause)Construct an exception with the associated message, exception and location.EDIStreamException(java.lang.Throwable cause)Deprecated. -
Method Summary
Modifier and Type Method Description LocationgetLocation()Gets the location of the exception
-
Field Details
-
Constructor Details
-
EDIStreamException
public EDIStreamException(java.lang.String message)Construct an exception with the associated message.- Parameters:
message- the message to report
-
EDIStreamException
@Deprecated public EDIStreamException(java.lang.Throwable cause)Deprecated.Construct an exception with the associated exception- Parameters:
cause- a nested exception
-
EDIStreamException
Construct an exception with the associated message, exception and location.- Parameters:
message- the message to reportlocation- the location of the errorcause- a nested error / exception
-
EDIStreamException
Construct an exception with the associated message, exception and location.- Parameters:
message- the message to reportlocation- the location of the error
-
-
Method Details
-
getLocation
Gets the location of the exception- Returns:
- the location of the exception, may be null if none is available
-