Class ParameterNotFoundException

All Implemented Interfaces:
Serializable

public class ParameterNotFoundException extends IllegalArgumentException
Thrown by ParameterValueGroup and ParameterDescriptorGroup when a parameter is requested but not found in that group.
Since:
1.0
Version:
3.0
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serial number for interoperability with different versions.
      See Also:
    • parameterName

      private final String parameterName
      The invalid parameter name.
  • Constructor Details

    • ParameterNotFoundException

      public ParameterNotFoundException(String message, String parameterName)
      Creates an exception with the specified message and parameter name.
      Parameters:
      message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
      parameterName - The name of the parameter which was required but not found.
  • Method Details

    • getParameterName

      public String getParameterName()
      Returns the name of the parameter which was required but not found.
      Returns:
      The required parameter name.