Class HeaderValueException

All Implemented Interfaces:
Serializable

public class HeaderValueException extends ProcessingException
Processing exception indicating that an attempt to read a value of a header failed.
Author:
Marek Potociar
See Also:
  • Constructor Details

    • HeaderValueException

      public HeaderValueException(String message, Throwable cause, HeaderValueException.Context context)
      Create a new header value exception from message, cause and context.
      Parameters:
      message - Exception message.
      cause - Exception cause.
      context - Context in which this exception was thrown.
    • HeaderValueException

      public HeaderValueException(String message, HeaderValueException.Context context)
      Create a new header value exception from message and context.
      Parameters:
      message - Exception message.
      context - Context in which this exception was thrown.
  • Method Details

    • getContext

      public HeaderValueException.Context getContext()
      Get the exception context.
      Returns:
      Context in which the exception was thrown.