Class ExternalOAuthFailedErrorImpl
java.lang.Object
com.commercetools.api.models.error.ExternalOAuthFailedErrorImpl
- All Implemented Interfaces:
ErrorObject
,ExternalOAuthFailedError
,io.vrap.rmf.base.client.ModelBase
public class ExternalOAuthFailedErrorImpl
extends Object
implements ExternalOAuthFailedError, io.vrap.rmf.base.client.ModelBase
Returned when an external OAuth Introspection endpoint does not return a response within the time limit, or the response isn't compliant with RFC 7662 (for example, an HTTP status code like 500
).
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.error.ExternalOAuthFailedError
EXTERNAL_O_AUTH_FAILED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCode()
Error identifier.Plain text description detailing the external OAuth error.int
hashCode()
void
setMessage
(String message) Plain text description detailing the external OAuth error.void
Error-specific additional fields.values()
Error-specific additional fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.error.ErrorObject
withErrorObject
Methods inherited from interface com.commercetools.api.models.error.ExternalOAuthFailedError
withExternalOAuthFailedError
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ExternalOAuthFailedErrorImpl
public ExternalOAuthFailedErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:ErrorObject
Error identifier.
- Specified by:
getCode
in interfaceErrorObject
- Specified by:
getCode
in interfaceExternalOAuthFailedError
- Returns:
- code
-
getMessage
Plain text description detailing the external OAuth error. For example,
"External OAuth did not respond in time."
.- Specified by:
getMessage
in interfaceErrorObject
- Specified by:
getMessage
in interfaceExternalOAuthFailedError
- Returns:
- message
-
values
Error-specific additional fields.
- Specified by:
values
in interfaceErrorObject
- Returns:
- map of the pattern property values
-
setMessage
Description copied from interface:ExternalOAuthFailedError
Plain text description detailing the external OAuth error. For example,
"External OAuth did not respond in time."
.- Specified by:
setMessage
in interfaceErrorObject
- Specified by:
setMessage
in interfaceExternalOAuthFailedError
- Parameters:
message
- value to be set
-
setValue
Description copied from interface:ErrorObject
Error-specific additional fields.
- Specified by:
setValue
in interfaceErrorObject
- Parameters:
key
- property namevalue
- property value
-
equals
-
hashCode
-