org.omnaest.utils.operation.special
Class OperationProducingExceptionHandledResult<RESULT,PARAMETER>
java.lang.Object
org.omnaest.utils.operation.special.OperationProducingExceptionHandledResult<RESULT,PARAMETER>
- Type Parameters:
RESULT - PARAMETER -
- All Implemented Interfaces:
- Operation<ExceptionHandledResult<RESULT>,PARAMETER>
public class OperationProducingExceptionHandledResult<RESULT,PARAMETER>
- extends Object
- implements Operation<ExceptionHandledResult<RESULT>,PARAMETER>
Operation which is wrapped with a try catch block catching all Exception derivative types. As result a
ExceptionHandledResult is returned.
- Author:
- Omnaest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
operation
protected final Operation<RESULT,PARAMETER> operation
OperationProducingExceptionHandledResult
public OperationProducingExceptionHandledResult(Operation<RESULT,PARAMETER> operation)
- Parameters:
operation - - See Also:
OperationProducingExceptionHandledResult
execute
public ExceptionHandledResult<RESULT> execute(PARAMETER parameter)
- Specified by:
execute in interface Operation<ExceptionHandledResult<RESULT>,PARAMETER>
Copyright © 2013. All Rights Reserved.