org.mule.security.oauth.exception
Class AuthorizationCodeNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
AuthorizationCodeNotFoundException
public AuthorizationCodeNotFoundException(Pattern pattern,
String callbackResponse)
- Creates a new instance
- Parameters:
pattern
- the Pattern
used to extract the authorization code from
the responsecallbackResponse
- the callback's response
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.