Class InvalidParameterNameException

    • Constructor Detail

      • InvalidParameterNameException

        public InvalidParameterNameException​(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 invalid parameter name.
    • Method Detail

      • getParameterName

        public String getParameterName()
        Returns the invalid parameter name.
        Returns:
        The name of the invalid parameter.