Class OAuthConfigurationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class OAuthConfigurationException
    extends OAuthException
    Represents an exception while processing OAuth component configuration.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ERROR_TYPE  
    • Constructor Summary

      Constructors 
      Constructor Description
      OAuthConfigurationException​(java.lang.String msgKey, java.lang.String configProperty, java.lang.String value, java.lang.Throwable cause)  
      OAuthConfigurationException​(java.lang.String configProperty, java.lang.String value, java.lang.Throwable cause)
      Creates a OAuthConfigurationException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String formatSelf​(java.util.Locale locale, java.lang.String encoding)  
      java.lang.String getConfigProperty()
      Returns A configuration property for the error message.
      java.lang.String getError()
      Gets error type for this OAuth exception
      java.lang.String getValue()
      Returns A configuration property value for the message resource.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OAuthConfigurationException

        public OAuthConfigurationException​(java.lang.String configProperty,
                                           java.lang.String value,
                                           java.lang.Throwable cause)
        Creates a OAuthConfigurationException.
        Parameters:
        configProperty - A configuration property for the error message.
        value - A configuration property value for the message resource.
        cause - A root exception.
      • OAuthConfigurationException

        public OAuthConfigurationException​(java.lang.String msgKey,
                                           java.lang.String configProperty,
                                           java.lang.String value,
                                           java.lang.Throwable cause)
    • Method Detail

      • getConfigProperty

        public java.lang.String getConfigProperty()
        Returns A configuration property for the error message.
        Returns:
        A configuration property for the error message.
      • getValue

        public java.lang.String getValue()
        Returns A configuration property value for the message resource.
        Returns:
        A configuration property value for the message resource.
      • getError

        public java.lang.String getError()
        Description copied from class: OAuthException
        Gets error type for this OAuth exception
        Specified by:
        getError in class OAuthException
        Returns:
        error type
      • formatSelf

        public java.lang.String formatSelf​(java.util.Locale locale,
                                           java.lang.String encoding)
        Specified by:
        formatSelf in class OAuthException