org.springframework.security.oauth2.common.exceptions
类 ClientAuthenticationException

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
所有已实现的接口:
Serializable
直接已知子类:
BadClientCredentialsException, InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidTokenException, RedirectMismatchException, UnauthorizedClientException

public abstract class ClientAuthenticationException
extends OAuth2Exception

Base exception

作者:
Ryan Heaton, Dave Syer
另请参见:
序列化表格

字段摘要
 
从类 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
 
构造方法摘要
ClientAuthenticationException(String msg)
           
ClientAuthenticationException(String msg, Throwable t)
           
 
方法摘要
 int getHttpErrorCode()
          The HTTP error code associated with this error.
abstract  String getOAuth2ErrorCode()
          The OAuth2 error code.
 
从类 org.springframework.security.oauth2.common.exceptions.OAuth2Exception 继承的方法
addAdditionalInformation, create, getAdditionalInformation, getSummary, toString, valueOf
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

ClientAuthenticationException

public ClientAuthenticationException(String msg,
                                     Throwable t)

ClientAuthenticationException

public ClientAuthenticationException(String msg)
方法详细信息

getHttpErrorCode

public int getHttpErrorCode()
从类 OAuth2Exception 复制的描述
The HTTP error code associated with this error.

覆盖:
OAuth2Exception 中的 getHttpErrorCode
返回:
The HTTP error code associated with this error.

getOAuth2ErrorCode

public abstract String getOAuth2ErrorCode()
从类 OAuth2Exception 复制的描述
The OAuth2 error code.

覆盖:
OAuth2Exception 中的 getOAuth2ErrorCode
返回:
The OAuth2 error code.


Copyright © 2013. All rights reserved.