Class ParameterMappingException

All Implemented Interfaces:
Serializable

public final class ParameterMappingException extends InvalidEndpointRequestException
A ParameterMappingException is thrown when a failure occurs during operation parameter mapping.
Since:
2.0.0
Author:
Andy Wilkinson
See Also:
  • Constructor Details

    • ParameterMappingException

      public ParameterMappingException(OperationParameter parameter, Object value, Throwable cause)
      Creates a new ParameterMappingException for a failure that occurred when trying to map the given input to the given type.
      Parameters:
      parameter - the parameter being mapping
      value - the value being mapped
      cause - the cause of the mapping failure
  • Method Details

    • getParameter

      public OperationParameter getParameter()
      Return the parameter being mapped.
      Returns:
      the parameter
    • getValue

      public Object getValue()
      Return the value being mapped.
      Returns:
      the value