Class EDISchemaException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.xlate.edi.schema.EDISchemaException
All Implemented Interfaces:
Serializable

public class EDISchemaException extends Exception
See Also:
  • Field Details

    • location

      protected final transient Location location
    • message

      protected final String message
  • Constructor Details

    • EDISchemaException

      public EDISchemaException(String message)
      Construct an exception with the associated message.
      Parameters:
      message - the message to report
    • EDISchemaException

      public EDISchemaException(String message, Throwable cause)
      Construct an exception with the associated message and exception
      Parameters:
      cause - a nested exception
      message - the message to report
    • EDISchemaException

      public EDISchemaException(String message, Location location, 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 exception
  • 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
    • getOriginalMessage

      public String getOriginalMessage()