Package io.atlassian.fugue.retry
Class ExceptionHandlers.CompositeExceptionHandler
- java.lang.Object
-
- io.atlassian.fugue.retry.ExceptionHandlers.CompositeExceptionHandler
-
- All Implemented Interfaces:
ExceptionHandler
- Enclosing class:
- ExceptionHandlers
private static class ExceptionHandlers.CompositeExceptionHandler extends java.lang.Object implements ExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description private ExceptionHandler[]handlers
-
Constructor Summary
Constructors Constructor Description CompositeExceptionHandler(ExceptionHandler... handlers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(java.lang.RuntimeException e)Act on an exception, this method should be called by clients when an exception occurs in wrapped code.
-
-
-
Field Detail
-
handlers
private final ExceptionHandler[] handlers
-
-
Constructor Detail
-
CompositeExceptionHandler
public CompositeExceptionHandler(ExceptionHandler... handlers)
-
-
Method Detail
-
handle
public void handle(java.lang.RuntimeException e)
Description copied from interface:ExceptionHandlerAct on an exception, this method should be called by clients when an exception occurs in wrapped code.- Specified by:
handlein interfaceExceptionHandler- Parameters:
e- the exception to handle
-
-