Class ParameterNotFoundException

    • Constructor Detail

      • 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 Detail

      • getParameterName

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