MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / func_181617_a

Method func_181617_a

src/main/java/net/minecraft/util/Util.java:15–38  ·  view source on GitHub ↗
(FutureTask<V> p_181617_0_, Logger p_181617_1_)

Source from the content-addressed store, hash-verified

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 {

Callers 3

runGameLoopMethod · 0.95
tickMethod · 0.95

Calls 3

getCauseMethod · 0.80
getMethod · 0.65
runMethod · 0.45

Tested by

no test coverage detected