public void run() { this.running = true; try { this.startGame(); } catch (Throwable throwable) { CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Initializing game"); crashreport.makeCategory("Initialization"); this.displayCrashReport(this.addGraphicsAndWorldToCrashReport(crashreport)); return; } while (true) { try { while (this.running) { if (!this.hasCrashed || this.crashReporter == null) { try { this.runGameLoop(); } catch (OutOfMemoryError var10) { this.freeMemory(); this.displayGuiScreen(new GuiMemoryErrorScreen()); System.gc(); } } else { this.displayCrashReport(this.crashReporter); } } } catch (MinecraftError var12) { break; } catch (ReportedException reportedexception) { this.addGraphicsAndWorldToCrashReport(reportedexception.getCrashReport()); this.freeMemory(); logger.fatal((String)"Reported exception thrown!", (Throwable)reportedexception); this.displayCrashReport(reportedexception.getCrashReport()); break; } catch (Throwable throwable1) { CrashReport crashreport1 = this.addGraphicsAndWorldToCrashReport(new CrashReport("Unexpected error", throwable1)); this.freeMemory(); logger.fatal("Unreported exception thrown!", throwable1); this.displayCrashReport(crashreport1); break; } finally { this.shutdownMinecraftApplet(); } return; } }
public void run() { this.running = true; try { this.startGame(); Client.init(); } catch (Throwable throwable) { CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Initializing game"); crashreport.makeCategory("Initialization"); this.displayCrashReport(this.addGraphicsAndWorldToCrashReport(crashreport)); return; } while (true) { try { while (this.running) { if (!this.hasCrashed || this.crashReporter == null) { try { this.runGameLoop(); } catch (OutOfMemoryError var10) { this.freeMemory(); this.displayGuiScreen(new GuiMemoryErrorScreen()); System.gc(); } } else { this.displayCrashReport(this.crashReporter); } } } catch (MinecraftError var12) { break; } catch (ReportedException reportedexception) { this.addGraphicsAndWorldToCrashReport(reportedexception.getCrashReport()); this.freeMemory(); logger.fatal((String)"Reported exception thrown!", (Throwable)reportedexception); this.displayCrashReport(reportedexception.getCrashReport()); break; } catch (Throwable throwable1) { CrashReport crashreport1 = this.addGraphicsAndWorldToCrashReport(new CrashReport("Unexpected error", throwable1)); this.freeMemory(); logger.fatal("Unreported exception thrown!", throwable1); this.displayCrashReport(crashreport1); break; } finally { this.shutdownMinecraftApplet(); } return; } }
public void run() { this.running = true; try { this.startGame(); } catch (Throwable throwable) { CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Initializing game"); crashreport.makeCategory("Initialization"); this.displayCrashReport(this.addGraphicsAndWorldToCrashReport(crashreport)); return; } while (true) { try { while (this.running) { if (!this.hasCrashed || this.crashReporter == null) { try { this.runGameLoop(); } catch (OutOfMemoryError var10) { this.freeMemory(); this.displayGuiScreen(new GuiMemoryErrorScreen()); System.gc(); } } else { this.displayCrashReport(this.crashReporter); } } } catch (MinecraftError var12) { break; } catch (ReportedException reportedexception) { this.addGraphicsAndWorldToCrashReport(reportedexception.getCrashReport()); this.freeMemory(); logger.fatal((String) "Reported exception thrown!", (Throwable) reportedexception); this.displayCrashReport(reportedexception.getCrashReport()); break; } catch (Throwable throwable1) { CrashReport crashreport1 = this .addGraphicsAndWorldToCrashReport(new CrashReport("Unexpected error", throwable1)); this.freeMemory(); logger.fatal("Unreported exception thrown!", throwable1); this.displayCrashReport(crashreport1); break; } finally { this.shutdownMinecraftApplet(); } return; } }
public void run() { this.running = true; try { this.startGame(); } catch (Throwable throwable) { CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Initializing game"); crashreport.makeCategory("Initialization"); this.displayCrashReport(this.addGraphicsAndWorldToCrashReport(crashreport)); return; } while (true) { try { while (this.running) { if (!this.hasCrashed || this.crashReporter == null) { try { this.runGameLoop(); } catch (OutOfMemoryError var10) { this.freeMemory(); this.displayGuiScreen(new GuiMemoryErrorScreen()); System.gc(); } } else { this.displayCrashReport(this.crashReporter); } } } catch (MinecraftError var12) { break; } catch (ReportedException reportedexception) { this.addGraphicsAndWorldToCrashReport(reportedexception.getCrashReport()); this.freeMemory(); LOGGER.fatal((String)"Reported exception thrown!", (Throwable)reportedexception); this.displayCrashReport(reportedexception.getCrashReport()); break; } catch (Throwable throwable1) { CrashReport crashreport1 = this.addGraphicsAndWorldToCrashReport(new CrashReport("Unexpected error", throwable1)); this.freeMemory(); LOGGER.fatal("Unreported exception thrown!", throwable1); this.displayCrashReport(crashreport1); break; } finally { this.shutdownMinecraftApplet(); } return; } }
public void run() { this.running = true; CrashReport var2; try { this.startGame(); } catch (Throwable var11) { var2 = CrashReport.makeCrashReport(var11, "Initializing game"); var2.makeCategory("Initialization"); this.displayCrashReport(this.addGraphicsAndWorldToCrashReport(var2)); return; } while (true) { try { while (this.running) { if (!this.hasCrashed || this.crashReporter == null) { try { this.runGameLoop(); } catch (OutOfMemoryError var10) { this.freeMemory(); this.displayGuiScreen(new GuiMemoryErrorScreen()); System.gc(); } continue; } this.displayCrashReport(this.crashReporter); return; } } catch (MinecraftError var12) { ; } catch (ReportedException var13) { this.addGraphicsAndWorldToCrashReport(var13.getCrashReport()); this.freeMemory(); logger.fatal("Reported exception thrown!", var13); this.displayCrashReport(var13.getCrashReport()); } catch (Throwable var14) { var2 = this.addGraphicsAndWorldToCrashReport(new CrashReport("Unexpected error", var14)); this.freeMemory(); logger.fatal("Unreported exception thrown!", var14); this.displayCrashReport(var2); } finally { this.shutdownMinecraftApplet(); } return; } }
public void run() { this.running = true; CrashReport crashreport; try { this.startGame(); } catch (Throwable throwable) { crashreport = CrashReport.makeCrashReport(throwable, "Initializing game"); crashreport.makeCategory("Initialization"); this.displayCrashReport(this.addGraphicsAndWorldToCrashReport(crashreport)); return; } while (true) { try { while (this.running) { if (!this.hasCrashed || this.crashReporter == null) { try { this.runGameLoop(); } catch (OutOfMemoryError outofmemoryerror) { this.freeMemory(); this.displayGuiScreen(new GuiMemoryErrorScreen()); System.gc(); } continue; } this.displayCrashReport(this.crashReporter); } } catch (MinecraftError minecrafterror) { break; } catch (ReportedException reportedexception) { this.addGraphicsAndWorldToCrashReport(reportedexception.getCrashReport()); this.freeMemory(); logger.fatal("Reported exception thrown!", reportedexception); this.displayCrashReport(reportedexception.getCrashReport()); break; } catch (Throwable throwable1) { crashreport = this.addGraphicsAndWorldToCrashReport(new CrashReport("Unexpected error", throwable1)); this.freeMemory(); logger.fatal("Unreported exception thrown!", throwable1); this.displayCrashReport(crashreport); break; } finally { this.shutdownMinecraftApplet(); } return; } }
public void func_99999_d() { this.field_71425_J = true; CrashReport var2; try { this.func_71384_a(); } catch (Throwable var11) { var2 = CrashReport.func_85055_a(var11, "Initializing game"); var2.func_85058_a("Initialization"); this.func_71377_b(this.func_71396_d(var2)); return; } while(true) { try { if(this.field_71425_J) { if(this.field_71434_R && this.field_71433_S != null) { this.func_71377_b(this.field_71433_S); return; } if(this.field_71468_ad) { this.field_71468_ad = false; this.func_110436_a(); } try { this.func_71411_J(); } catch (OutOfMemoryError var10) { this.func_71398_f(); this.func_71373_a(new GuiMemoryErrorScreen()); System.gc(); } continue; } } catch (MinecraftError var12) { ; } catch (ReportedException var13) { this.func_71396_d(var13.func_71575_a()); this.func_71398_f(); var13.printStackTrace(); this.func_71377_b(var13.func_71575_a()); } catch (Throwable var14) { var2 = this.func_71396_d(new CrashReport("Unexpected error", var14)); this.func_71398_f(); var14.printStackTrace(); this.func_71377_b(var2); } finally { this.func_71405_e(); } return; } }
public void run() { this.running = true; CrashReport crashreport; try { this.startGame(); } catch (Throwable throwable) { crashreport = CrashReport.makeCrashReport(throwable, "Initializing game"); crashreport.makeCategory("Initialization"); this.displayCrashReport(this.addGraphicsAndWorldToCrashReport(crashreport)); return; } try { while (this.running) { if (this.running) { if (this.hasCrashed && this.crashReporter != null) { this.displayCrashReport(this.crashReporter); return; } if (this.refreshTexturePacksScheduled) { this.refreshTexturePacksScheduled = false; this.refreshResources(); } try { this.runGameLoop(); } catch (OutOfMemoryError outofmemoryerror) { this.freeMemory(); this.displayGuiScreen(new GuiMemoryErrorScreen()); System.gc(); } continue; } } } catch (MinecraftError minecrafterror) { } catch (ReportedException reportedexception) { this.addGraphicsAndWorldToCrashReport(reportedexception.getCrashReport()); this.freeMemory(); reportedexception.printStackTrace(); this.displayCrashReport(reportedexception.getCrashReport()); } catch (Throwable throwable1) { crashreport = this.addGraphicsAndWorldToCrashReport(new CrashReport("Unexpected error", throwable1)); this.freeMemory(); throwable1.printStackTrace(); this.displayCrashReport(crashreport); } finally { this.shutdownMinecraftApplet(); } }