returns a throwinginttodoublefunction throwing an exception of the given type if this function throws an exception.the original exception thrown by this function is the throwable #getcause cause of the thrown exception.the exception class must have a constructor accepting string and throwable as arguments . concode_field_sep PlaceHolder placeHolder concode_field_sep double applyAsDouble concode_elem_sep ThrowingIntToDoubleFunction orTryWith concode_elem_sep ThrowingIntToDoubleFunction orTryWith concode_elem_sep double applyAsDoubleThrowing concode_elem_sep IntToDoubleFunction fallbackTo concode_elem_sep IntToDoubleFunction fallbackTo concode_elem_sep IntToDoubleFunction orReturn concode_elem_sep IntToDoubleFunction orReturn
ThrowingIntToDoubleFunction function ( Class < ? extends RuntimeException > arg0 , String arg1 ) { Contract . checkArgument ( arg0 != null , "srini_string" ) ; return argument -> { try { return applyAsDoubleThrowing ( argument ) ; } catch ( Exception loc0 ) { throw ReflectionUtils . createException ( arg0 , arg1 , loc0 ) ; } } ; }