Class EDISchemaException

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

public class EDISchemaException
extends java.lang.Exception
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected javax.xml.stream.Location location  
    protected java.lang.String message  
  • Constructor Summary

    Constructors 
    Constructor Description
    EDISchemaException​(java.lang.String message)
    Construct an exception with the associated message.
    EDISchemaException​(java.lang.String message, java.lang.Throwable cause)
    Construct an exception with the associated message and exception
    EDISchemaException​(java.lang.String message, javax.xml.stream.Location location, java.lang.Throwable cause)
    Construct an exception with the associated message, exception and location.
  • Method Summary

    Modifier and Type Method Description
    javax.xml.stream.Location getLocation()
    Gets the location of the exception
    java.lang.String getOriginalMessage()  

    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

    • location

      protected final transient javax.xml.stream.Location location
    • message

      protected final java.lang.String message
  • Constructor Details

    • EDISchemaException

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

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

      public EDISchemaException​(java.lang.String message, javax.xml.stream.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 exception
  • Method Details

    • getLocation

      public javax.xml.stream.Location getLocation()
      Gets the location of the exception
      Returns:
      the location of the exception, may be null if none is available
    • getOriginalMessage

      public java.lang.String getOriginalMessage()