- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.xlate.edi.stream.EDIStreamException
-
- All Implemented Interfaces:
Serializable
public class EDIStreamException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EDIStreamException(String message)
Construct an exception with the associated message.EDIStreamException(String message, Location location)
Construct an exception with the associated message, exception and location.EDIStreamException(String message, Location location, Throwable cause)
Construct an exception with the associated message, exception and location.EDIStreamException(Throwable cause)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Location
getLocation()
Gets the location of the exception-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
location
protected final transient Location location
-
-
Constructor Detail
-
EDIStreamException
public EDIStreamException(String message)
Construct an exception with the associated message.- Parameters:
message
- the message to report
-
EDIStreamException
@Deprecated public EDIStreamException(Throwable cause)
Deprecated.Construct an exception with the associated exception- Parameters:
cause
- a nested exception
-
EDIStreamException
public EDIStreamException(String message, Location location, 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 error / exception
-
-
Method Detail
-
getLocation
public Location getLocation()
Gets the location of the exception- Returns:
- the location of the exception, may be null if none is available
-
-