org.mule.security.oauth.exception
Class AuthorizationCodeNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.mule.security.oauth.exception.AuthorizationCodeNotFoundException
All Implemented Interfaces:
Serializable

public class AuthorizationCodeNotFoundException
extends Exception

Exception to signal that an OAuth http callback was received but an authorization code could not be found on it.

See Also:
Serialized Form

Constructor Summary
AuthorizationCodeNotFoundException(Pattern pattern, String callbackResponse)
          Creates a new instance
 
Method Summary
 String getCallbackResponse()
           
 Pattern getPattern()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthorizationCodeNotFoundException

public AuthorizationCodeNotFoundException(Pattern pattern,
                                          String callbackResponse)
Creates a new instance

Parameters:
pattern - the Pattern used to extract the authorization code from the response
callbackResponse - the callback's response
Method Detail

getPattern

public Pattern getPattern()
Returns:
the Pattern used to extract the authorization code from the response

getCallbackResponse

public String getCallbackResponse()
Returns:
the callback's response


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.