private static < Output > void silentRun ( @ NonNull final ChronosOperation < Output > operation , @ NonNull final ChronosOperationResult < Output > operationResult ) { try { final Output output = operation . run ( ) ; operationResult . setOutput ( output ) ; } catch ( Exception e ) { operationResult . setException ( e ) ; } }
Runs operation handling all the exceptions that may ne thrown while running .