Class InvalidGrantException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.oauth2.core.exceptions.OAuth2Exception
-
- org.forgerock.oauth2.core.exceptions.InvalidGrantException
-
- All Implemented Interfaces:
Serializable
public class InvalidGrantException extends OAuth2Exception
Thrown when the requested grant type is not supported/- Since:
- 12.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidGrantException()Constructs a new InvalidGrantException with the default message.InvalidGrantException(String message)Constructs a new InvalidGrantException 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
-
InvalidGrantException
public InvalidGrantException()
Constructs a new InvalidGrantException with the default message.
-
InvalidGrantException
public InvalidGrantException(String message)
Constructs a new InvalidGrantException with the specified message.- Parameters:
message- The reason for the exception.
-
-