DoubleFunction < R > function ( R arg0 , Consumer < Exception > arg1 ) { return argument -> { try { return applyThrowing ( argument ) ; } catch ( Exception loc0 ) { if ( arg1 != null ) { arg1 . accept ( loc0 ) ; } return arg0 ; } } ; }
returns a doublefunction returning the given value if this function throws an exception . concode_field_sep PlaceHolder placeHolder concode_field_sep R apply concode_elem_sep ThrowingDoubleFunction<R> orTryWith concode_elem_sep ThrowingDoubleFunction<R> orTryWith concode_elem_sep DoubleFunction<R> fallbackTo concode_elem_sep DoubleFunction<R> fallbackTo concode_elem_sep R applyThrowing concode_elem_sep ThrowingDoubleFunction<R> orThrow concode_elem_sep ThrowingDoubleFunction<R> orThrow