Class FailureContext

java.lang.Object
org.forgerock.services.context.AbstractContext
org.forgerock.openig.util.FailureContext
All Implemented Interfaces:
Context

public final class FailureContext extends AbstractContext
Context implementation to hold error information regarding failures.
  • Field Details

  • Constructor Details

    • FailureContext

      public FailureContext(Context parent, Exception exception)
      Create a new FailureContext.
      Parameters:
      parent - the parent context
      exception - the cause of the failure
  • Method Details

    • getException

      public Exception getException()
      Get any Exception associated with the failure that occurred.
      Returns:
      the Exception associated with the failure