org.springframework.security.oauth2.common.exceptions
Class InvalidTokenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.oauth2.common.exceptions.OAuth2Exception
org.springframework.security.oauth2.common.exceptions.ClientAuthenticationException
org.springframework.security.oauth2.common.exceptions.InvalidTokenException
- All Implemented Interfaces:
- Serializable
public class InvalidTokenException
- extends ClientAuthenticationException
- Author:
- Ryan Heaton, Dave Syer
- See Also:
- Serialized Form
| Fields inherited from class org.springframework.security.oauth2.common.exceptions.OAuth2Exception |
ACCESS_DENIED, DESCRIPTION, ERROR, INVALID_CLIENT, INVALID_GRANT, INVALID_REQUEST, INVALID_SCOPE, INVALID_TOKEN, REDIRECT_URI_MISMATCH, UNAUTHORIZED_CLIENT, UNSUPPORTED_GRANT_TYPE, UNSUPPORTED_RESPONSE_TYPE, URI |
InvalidTokenException
public InvalidTokenException(String msg,
Throwable t)
InvalidTokenException
public InvalidTokenException(String msg)
getHttpErrorCode
public int getHttpErrorCode()
- Description copied from class:
OAuth2Exception
- The HTTP error code associated with this error.
- Overrides:
getHttpErrorCode in class ClientAuthenticationException
- Returns:
- The HTTP error code associated with this error.
getOAuth2ErrorCode
public String getOAuth2ErrorCode()
- Description copied from class:
OAuth2Exception
- The OAuth2 error code.
- Specified by:
getOAuth2ErrorCode in class ClientAuthenticationException
- Returns:
- The OAuth2 error code.
Copyright © 2013. All rights reserved.