Class ParameterParseException

    • Constructor Detail

      • ParameterParseException

        public ParameterParseException​(String message)
        Constructs a new parameter parse exception with the given message. The message should be written in a way so that it can be directly presented to the end user.
        Parameters:
        message - the detail message
      • ParameterParseException

        public ParameterParseException​(String message,
                                       Throwable cause)
        Constructs a new parameter parse exception with the given message and cause. The message should be written in a way so that it can be directly presented to the end user.
        Parameters:
        message - the detail message
        cause - the cause
      • ParameterParseException

        public ParameterParseException​(String parameterName,
                                       String parameterValue,
                                       String message)
        Constructs a new parameter parse exception with the given message, parameter name and parameter value. The message should be written in a way so that it can be directly presented to the end user.
        Parameters:
        message - the detail message
        parameterName - the name of the parameter that was parsed
        parameterValue - the value of the parameter that was parsed
      • ParameterParseException

        public ParameterParseException​(String parameterName,
                                       String parameterValue,
                                       String message,
                                       Throwable cause)
        Constructs a new parameter parse exception with the given message, cause, parameter name and parameter value. The message should be written in a way so that it can be directly presented to the end user.
        Parameters:
        message - the detail message
        cause - the cause
        parameterName - the name of the parameter that was parsed
        parameterValue - the value of the parameter that was parsed
    • Method Detail

      • getParameterName

        public String getParameterName()
        Returns the name of the parameter that was parsed.
        Returns:
        the name of the parameter that was parsed
      • setParameterName

        public void setParameterName​(String parameterName)
        Sets the name of the parameter that was parsed.
        Parameters:
        parameterName - the name of the parameter that was parsed
      • getParameterValue

        public String getParameterValue()
        Returns the value of the parameter that was parsed.
        Returns:
        the value of the parameter that was parsed
      • setParameterValue

        public void setParameterValue​(String parameterValue)
        Sets the value of the parameter that was parsed.
        Parameters:
        parameterValue - the value of the parameter that was parsed
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object