Package net.shibboleth.idp.profile.impl
Class RethrowingFlowExecutionExceptionHandler
- java.lang.Object
-
- net.shibboleth.idp.profile.impl.RethrowingFlowExecutionExceptionHandler
-
- All Implemented Interfaces:
FlowExecutionExceptionHandler
public class RethrowingFlowExecutionExceptionHandler extends Object implements FlowExecutionExceptionHandler
This handler can be attached to view or end states that are used to respond to errors, including RuntimeExceptions, so that if they themselves raise another RuntimeException, it won't trigger the state again, but just fail the flow.
-
-
Constructor Summary
Constructors Constructor Description RethrowingFlowExecutionExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(FlowExecutionException exception)voidhandle(FlowExecutionException exception, RequestControlContext context)
-
-
-
Method Detail
-
canHandle
public boolean canHandle(FlowExecutionException exception)
- Specified by:
canHandlein interfaceFlowExecutionExceptionHandler
-
handle
public void handle(FlowExecutionException exception, RequestControlContext context)
- Specified by:
handlein interfaceFlowExecutionExceptionHandler
-
-