Class ForbiddenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.unboundid.scim2.common.exceptions.ScimException
-
- com.unboundid.scim2.common.exceptions.ForbiddenException
-
- All Implemented Interfaces:
Serializable
public class ForbiddenException extends ScimException
Signals the server does not support the requested operation. This exception corresponds to HTTP response code 403 FORBIDDEN.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ForbiddenException(ErrorResponse scimError, Throwable cause)
Create a newForbiddenException
from the provided information.ForbiddenException(String errorMessage)
Create a newForbiddenException
from the provided information.ForbiddenException(String errorMessage, String scimType, Throwable cause)
Create a newForbiddenException
from the provided information.
-
Method Summary
-
Methods inherited from class com.unboundid.scim2.common.exceptions.ScimException
createException, createException, createException, getMessage, getScimError
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ForbiddenException
public ForbiddenException(String errorMessage)
Create a newForbiddenException
from the provided information.- Parameters:
errorMessage
- The error message for this SCIM exception.
-
ForbiddenException
public ForbiddenException(String errorMessage, String scimType, Throwable cause)
Create a newForbiddenException
from the provided information.- Parameters:
errorMessage
- The error message for this SCIM exception.scimType
- The SCIM detailed error keyword.cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
ForbiddenException
public ForbiddenException(ErrorResponse scimError, Throwable cause)
Create a newForbiddenException
from the provided information.- Parameters:
scimError
- The SCIM error response.cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-