Class UnauthorizedClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.oauth2.core.exceptions.OAuth2Exception
-
- org.forgerock.oauth2.core.exceptions.UnauthorizedClientException
-
- All Implemented Interfaces:
Serializable
public class UnauthorizedClientException extends OAuth2Exception
Thrown when client authorization fails.- Since:
- 12.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnauthorizedClientException()Constructs a new UnauthorizedClientException with the default message.UnauthorizedClientException(String message)Constructs a new UnauthorizedClientException with the specified message.
-
Method Summary
-
Methods inherited from class org.forgerock.oauth2.core.exceptions.OAuth2Exception
getError, getParameterLocation, getStatusCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnauthorizedClientException
public UnauthorizedClientException()
Constructs a new UnauthorizedClientException with the default message.
-
UnauthorizedClientException
public UnauthorizedClientException(String message)
Constructs a new UnauthorizedClientException with the specified message.- Parameters:
message- The reason for the exception.
-
-