ThrowingDoubleSupplier function ( Class < ? extends RuntimeException > arg0 ) { Contract . checkArgument ( arg0 != null , "srini_string" ) ; return ( ) -> { try { return getAsDoubleThrowing ( ) ; } catch ( Exception loc0 ) { throw ReflectionUtils . createException ( arg0 , loc0 ) ; } } ; }
returns a throwingdoublesupplier throwing an exception of the given type if this supplier throws an exception.the original exception thrown by this supplier is the throwable #getcause cause of the thrown exception.the exception class must have a constructor accepting a single throwable as an argument . concode_field_sep PlaceHolder placeHolder concode_field_sep double getAsDoubleThrowing concode_elem_sep ThrowingDoubleSupplier orTryWith concode_elem_sep ThrowingDoubleSupplier orTryWith concode_elem_sep DoubleSupplier fallbackTo concode_elem_sep DoubleSupplier fallbackTo concode_elem_sep double getAsDouble concode_elem_sep DoubleSupplier orReturn concode_elem_sep DoubleSupplier orReturn