Class EDIStreamException

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

    Fields 
    Modifier and Type Field Description
    protected Location location  
  • 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)
    Construct an exception with the associated exception
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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

      public EDIStreamException​(java.lang.Throwable cause)
      Construct an exception with the associated exception
      Parameters:
      cause - a nested exception
    • EDIStreamException

      public EDIStreamException​(java.lang.String message, Location location, java.lang.Throwable cause)
      Construct an exception with the associated message, exception and location.
      Parameters:
      message - the message to report
      location - the location of the error
      cause - a nested error / exception
    • EDIStreamException

      public EDIStreamException​(java.lang.String message, Location location)
      Construct an exception with the associated message, exception and location.
      Parameters:
      message - the message to report
      location - the location of the error
  • Method Details

    • getLocation

      public Location getLocation()
      Gets the location of the exception
      Returns:
      the location of the exception, may be null if none is available