Package com.unboundid.scim2.client
Class ScimServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.unboundid.scim2.common.exceptions.ScimException
-
- com.unboundid.scim2.client.ScimServiceException
-
- All Implemented Interfaces:
Serializable
public class ScimServiceException extends com.unboundid.scim2.common.exceptions.ScimException
This exception is thrown when problems occur in the ScimService. This class allows a client application to differentiate between errors that arise on the client side from errors that come from the server.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScimServiceException(int statusCode, String errorMessage, Throwable cause)
Create a new ScimServiceException 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
-
ScimServiceException
public ScimServiceException(int statusCode, String errorMessage, Throwable cause)
Create a new ScimServiceException from the provided information.- Parameters:
statusCode
- The HTTP status code for this exception.errorMessage
- The error message for this SCIM exception.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.)
-
-