Package org.forgerock.openig.util
Class FailureContext
java.lang.Object
org.forgerock.services.context.AbstractContext
org.forgerock.openig.util.FailureContext
- All Implemented Interfaces:
Context
Context
implementation to hold error information regarding failures.-
Field Summary
Fields inherited from class org.forgerock.services.context.AbstractContext
data
-
Constructor Summary
ConstructorDescriptionFailureContext
(Context parent, Exception exception) Create a newFailureContext
. -
Method Summary
Methods inherited from class org.forgerock.services.context.AbstractContext
as, asContext, containsContext, containsContext, get, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
-
Field Details
-
NAME
TheFailureContext
's name.- See Also:
-
-
Constructor Details
-
FailureContext
Create a newFailureContext
.- Parameters:
parent
- the parent contextexception
- the cause of the failure
-
-
Method Details