public class PreconditionFailedException extends SCIMException
Constructor and Description |
---|
PreconditionFailedException(String errorMessage)
Create a new
PreconditionFailedException from the provided
information. |
PreconditionFailedException(String errorMessage,
String version,
Throwable cause)
Create a new
PreconditionFailedException from the provided
information. |
PreconditionFailedException(String errorMessage,
Throwable cause)
Create a new
PreconditionFailedException from the provided
information. |
Modifier and Type | Method and Description |
---|---|
String |
getVersion()
Retrieves the current version of the Resource.
|
createException, createException, getStatusCode, marshal
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PreconditionFailedException(String errorMessage)
PreconditionFailedException
from the provided
information.errorMessage
- The error message for this SCIM exception.public PreconditionFailedException(String errorMessage, Throwable cause)
PreconditionFailedException
from the provided
information.errorMessage
- The error message for this SCIM exception.cause
- The cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value
is permitted, and indicates that the cause is
nonexistent or unknown.)public PreconditionFailedException(String errorMessage, String version, Throwable cause)
PreconditionFailedException
from the provided
information.errorMessage
- The error message for this SCIM exception.version
- The current version of the Resource.cause
- The cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value
is permitted, and indicates that the cause is
nonexistent or unknown.)public String getVersion()
Copyright © 2011-2015 UnboundID. All Rights Reserved.