(boolean condition, Function<? super String, ? extends E> fn,
String format, Object... args)
| 64 | } |
| 65 | |
| 66 | public static <E extends Exception> void raiseIf(boolean condition, Function<? super String, ? extends E> fn, |
| 67 | String format, Object... args) throws E { |
| 68 | if (condition) { |
| 69 | raise(fn, format, args); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | public static <E extends Exception> void raiseUnless(boolean condition, Function<? super String, ? extends E> fn, |
| 74 | String format, Object... args) throws E { |
no test coverage detected