Class OAuth20BadParameterFormatException

  • All Implemented Interfaces:
    java.io.Serializable

    public class OAuth20BadParameterFormatException
    extends OAuth20Exception
    Represents a bad parameter format exception presented in OAuth request.
    See Also:
    Serialized Form
    • Constructor Detail

      • OAuth20BadParameterFormatException

        public OAuth20BadParameterFormatException​(java.lang.String paramName,
                                                  java.lang.String paramValue)
        Creates a OAuth20BadParameterFormatException.
        Parameters:
        paramName - a parameter in an OAuth request.
        paramValue - a value of parameter in Oauth request.
      • OAuth20BadParameterFormatException

        public OAuth20BadParameterFormatException​(java.lang.String msgKey,
                                                  java.lang.String paramName,
                                                  java.lang.String paramValue)
    • Method Detail

      • formatSelf

        public java.lang.String formatSelf​(java.util.Locale locale,
                                           java.lang.String encoding)
        Overrides:
        formatSelf in class OAuth20Exception
      • getParamName

        public java.lang.String getParamName()
        Returns:
        a parameter name in the request.
      • getParamValue

        public java.lang.String getParamValue()
        Returns:
        a parameter value in the request.