Class OAuthResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.auth.client.oauth2.OAuthResponseException
- All Implemented Interfaces:
- Serializable
This is an exception class for OAUTH specific errors. i.e. The error responses described in the
 RFC6749. Do NOT confuse this with Java errors.
 
To keep it simple, this exception class serves for both Authorization Request and Authorization Grant error response
The field names are kept exactly the same as the specification. This allows the error responses to be directly deserialized from JSON.
- Author:
- Gary Tse - Initial contribution
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetError()getState()voidvoidsetErrorDescription(String errorDescription) voidsetErrorUri(String errorUri) voidtoString()Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace