org.omnaest.utils.operation.special
Class OperationExceptionHandledResult<RESULT,PARAMETER>
java.lang.Object
org.omnaest.utils.operation.special.OperationExceptionHandledResult<RESULT,PARAMETER>
- Type Parameters:
RESULT - PARAMETER -
- All Implemented Interfaces:
- Operation<ExceptionHandledResult<RESULT>,PARAMETER>
public class OperationExceptionHandledResult<RESULT,PARAMETER>
- extends Object
- implements Operation<ExceptionHandledResult<RESULT>,PARAMETER>
Operation which will catch any occurring Exception and return an ExceptionHandledResult
- Author:
- Omnaest
- See Also:
OperationExceptionHandled
| 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
OperationExceptionHandledResult
public OperationExceptionHandledResult(Operation<RESULT,PARAMETER> operation)
- Parameters:
operation - - See Also:
OperationExceptionHandledResult
execute
public ExceptionHandledResult<RESULT> execute(PARAMETER parameter)
- Specified by:
execute in interface Operation<ExceptionHandledResult<RESULT>,PARAMETER>
Copyright © 2013. All Rights Reserved.