Package net.minecraft.crash

Examples of net.minecraft.crash.CrashReport.saveToFile()


        crashReport = this.addServerInfoToCrashReport(new CrashReport("Exception in server tick loop", throwable));
      }

      File var3 = new File(new File(this.getDataDirectory(), "crash-reports"), "crash-" + (new SimpleDateFormat("yyyy-MM-dd_HH.mm.ss")).format(new Date()) + "-server.txt");

      if (crashReport.saveToFile(var3, getLogAgent())) {
        getLogAgent().logSevere("This crash report has been saved to: " + var3.getAbsolutePath());
      } else {
        getLogAgent().logSevere("We were unable to save this crash report to disk.");
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.