Class EDISchemaException

    • Field Detail

      • location

        protected final transient Location location
      • message

        protected final String message
    • Constructor Detail

      • EDISchemaException

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

        public EDISchemaException​(Throwable cause)
        Construct an exception with the associated exception
        Parameters:
        cause - a nested exception
      • EDISchemaException

        public EDISchemaException​(String message,
                                  Throwable cause)
        Construct an exception with the assocated 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
      • EDISchemaException

        public EDISchemaException​(String message,
                                  Location location)
        Construct an exception with the assocated message, exception and location.
        Parameters:
        message - the message to report
        location - the location of the error
    • 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
      • getOriginalMessage

        public String getOriginalMessage()