Class DuplicateRequestParameterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.oauth2.core.exceptions.OAuth2Exception
-
- org.forgerock.oauth2.core.exceptions.DuplicateRequestParameterException
-
- All Implemented Interfaces:
Serializable
public class DuplicateRequestParameterException extends OAuth2Exception
Thrown when the duplicate request parameter is found.- Since:
- 13.5.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateRequestParameterException()Constructs a new DuplicateRequestParameterException with the default message.DuplicateRequestParameterException(String message)Constructs a new DuplicateRequestParameterException with the specified message.DuplicateRequestParameterException(String message, OAuth2Constants.UrlLocation parameterLocation)Constructs a new DuplicateRequestParameterException 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
-
DuplicateRequestParameterException
public DuplicateRequestParameterException()
Constructs a new DuplicateRequestParameterException with the default message.
-
DuplicateRequestParameterException
public DuplicateRequestParameterException(String message)
Constructs a new DuplicateRequestParameterException with the specified message. TheOAuth2Constants.UrlLocationfor the parameters are defaulted to QUERY.- Parameters:
message- The reason for the exception.
-
DuplicateRequestParameterException
public DuplicateRequestParameterException(String message, OAuth2Constants.UrlLocation parameterLocation)
Constructs a new DuplicateRequestParameterException with the specified message.- Parameters:
message- The reason for the exception.parameterLocation- Indicates the location of the parameters in the URL.
-
-