Class PermanentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.forgerock.json.resource.ResourceException
org.forgerock.json.resource.PermanentException
- All Implemented Interfaces:
Serializable, Response
An exception that indicates that a failure is permanent, i.e. that re-trying
alone without addressing the cause is not expected to succeed.
- See Also:
-
Field Summary
Fields inherited from class ResourceException
BAD_REQUEST, CONFLICT, FIELD_CAUSE, FIELD_CODE, FIELD_DETAIL, FIELD_MESSAGE, FIELD_REASON, FORBIDDEN, INTERNAL_ERROR, NOT_FOUND, NOT_SUPPORTED, UNAVAILABLE, UNSUPPORTED_MEDIA_TYPE, VERSION_MISMATCH, VERSION_REQUIRED -
Constructor Summary
ConstructorsConstructorDescriptionPermanentException(int code, String message, Throwable cause) Constructs a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class ResourceException
asPromise, getCode, getDetail, getException, getException, getException, getReason, getResourceApiVersion, includeCauseInJsonValue, isServerError, newResourceException, newResourceException, newResourceException, setDetail, setReason, setResourceApiVersion, toJsonValueMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Response
getCacheControl
-
Constructor Details
-
PermanentException
-