Package com.google.auth.oauth2
Class PluggableAuthException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- com.google.auth.oauth2.GoogleAuthException
-
- com.google.auth.oauth2.OAuthException
-
- com.google.auth.oauth2.PluggableAuthException
-
- All Implemented Interfaces:
Retryable
,java.io.Serializable
class PluggableAuthException extends OAuthException
Encapsulates the error response's for 3rd party executables defined by the executable spec.
-
-
Constructor Summary
Constructors Constructor Description PluggableAuthException(java.lang.String errorCode, java.lang.String errorDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
The message with format: Error code {errorCode}: {errorDescription}.-
Methods inherited from class com.google.auth.oauth2.OAuthException
createFromHttpResponseException, getErrorCode, getErrorDescription, getErrorUri
-
Methods inherited from class com.google.auth.oauth2.GoogleAuthException
createWithTokenEndpointIOException, createWithTokenEndpointIOException, createWithTokenEndpointResponseException, createWithTokenEndpointResponseException, getRetryCount, isRetryable
-
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
The message with format: Error code {errorCode}: {errorDescription}.- Overrides:
getMessage
in classOAuthException
-
-