(FutureTask<V> p_181617_0_, Logger p_181617_1_)
| 13 | } |
| 14 | |
| 15 | public static <V> V func_181617_a(FutureTask<V> p_181617_0_, Logger p_181617_1_) |
| 16 | { |
| 17 | try |
| 18 | { |
| 19 | p_181617_0_.run(); |
| 20 | return p_181617_0_.get(); |
| 21 | } |
| 22 | catch (ExecutionException executionexception) |
| 23 | { |
| 24 | p_181617_1_.fatal("Error executing task", executionexception); |
| 25 | |
| 26 | if (executionexception.getCause() instanceof OutOfMemoryError) |
| 27 | { |
| 28 | OutOfMemoryError outofmemoryerror = (OutOfMemoryError)executionexception.getCause(); |
| 29 | throw outofmemoryerror; |
| 30 | } |
| 31 | } |
| 32 | catch (InterruptedException interruptedexception) |
| 33 | { |
| 34 | p_181617_1_.fatal("Error executing task", interruptedexception); |
| 35 | } |
| 36 | |
| 37 | return null; |
| 38 | } |
| 39 | |
| 40 | public static enum EnumOS |
| 41 | { |
no test coverage detected