Class InvalidParameterTypeException

    • Constructor Detail

      • InvalidParameterTypeException

        public InvalidParameterTypeException​(String message,
                                             String parameterName)
        Creates an exception with the specified message and parameter name.
        Parameters:
        message - the detail message, saved for later retrieval by the Throwable.getMessage() method.
        parameterName - the parameter name.
      • InvalidParameterTypeException

        public InvalidParameterTypeException​(String message,
                                             Throwable cause,
                                             String parameterName)
        Creates an exception with the specified message, cause and parameter name.
        Parameters:
        message - the detail message, saved for later retrieval by the Throwable.getMessage() method.
        cause - the cause, saved for later retrieval by the Throwable.getCause() method.
        parameterName - the parameter name.
        Since:
        3.1
    • Method Detail

      • getParameterName

        public String getParameterName()
        Returns the parameter name.
        Returns:
        the parameter name.