Examples of ReportedException


Examples of net.minecraft.server.ReportedException

        CrashReport crashreport = CrashReport.a(throwable, "Exception generating new chunk");
        CrashReportSystemDetails crashreportsystemdetails = crashreport.a("Chunk to be generated");
        crashreportsystemdetails.a("Location", String.format("%d,%d", x, z));
        crashreportsystemdetails.a("Position hash", Long.valueOf(MathUtil.longHashToLong(x, z)));
        crashreportsystemdetails.a("Generator", this.chunkProvider.getName());
        throw new ReportedException(crashreport);
      }
      if (chunk != null) {
        time = System.nanoTime() - time;
        CommonPlugin.TIMINGS.onChunkGenerate(chunk, time);
      }
View Full Code Here

Examples of net.minecraft.server.ReportedException

    CrashReport crashreport = CrashReport.a(throwable, "Exception generating new chunk");
    CrashReportSystemDetails crashreportsystemdetails = crashreport.a("Chunk to be generated");
    crashreportsystemdetails.a("Location", String.format("%d,%d", chunkX, chunkZ));
    crashreportsystemdetails.a("Position hash", Long.valueOf(MathUtil.longHashToLong(chunkX, chunkZ)));
    crashreportsystemdetails.a("Generator", this.chunkProvider.getName());
    throw new ReportedException(crashreport);
  }
View Full Code Here

Examples of net.minecraft.util.ReportedException

        catch (Throwable throwable)
        {
            CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Oxygen Sealer thread: Exception getting block type in world");
            CrashReportCategory crashreportcategory = crashreport.makeCategory("Requested block coordinates");
            crashreportcategory.addCrashSection("Location", CrashReportCategory.getLocationInfo(this.x, this.y, this.z));
            throw new ReportedException(crashreport);
        }
    }
View Full Code Here

Examples of net.minecraft.util.ReportedException

        catch (Throwable throwable)
        {
            CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Oxygen Sealer thread: Exception getting block type in world");
            CrashReportCategory crashreportcategory = crashreport.makeCategory("Requested block coordinates");
            crashreportcategory.addCrashSection("Location", CrashReportCategory.getLocationInfo(this.x, this.y, this.z));
            throw new ReportedException(crashreport);
        }
    }
View Full Code Here

Examples of net.minecraft.util.ReportedException

        catch (Throwable throwable)
        {
            CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Oxygen Sealer thread: Exception getting block type in world");
            CrashReportCategory crashreportcategory = crashreport.makeCategory("Requested block coordinates");
            crashreportcategory.addCrashSection("Location", CrashReportCategory.getLocationInfo(this.x, this.y, this.z));
            throw new ReportedException(crashreport);
        }
    }
View Full Code Here

Examples of net.minecraft.util.ReportedException

        catch (Throwable throwable)
        {
            CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Oxygen Sealer thread: Exception getting block type in world");
            CrashReportCategory crashreportcategory = crashreport.makeCategory("Requested block coordinates");
            crashreportcategory.addCrashSection("Location", CrashReportCategory.getLocationInfo(this.x, this.y, this.z));
            throw new ReportedException(crashreport);
        }
    }
View Full Code Here

Examples of net.minecraft.util.ReportedException

        catch (Throwable throwable)
        {
            CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Oxygen Sealer thread: Exception getting block type in world");
            CrashReportCategory crashreportcategory = crashreport.makeCategory("Requested block coordinates");
            crashreportcategory.addCrashSection("Location", CrashReportCategory.getLocationInfo(this.x, this.y, this.z));
            throw new ReportedException(crashreport);
        }
    }
View Full Code Here

Examples of net.minecraft.util.ReportedException

    catch( Throwable t )
    {
          CrashReport crashreport = CrashReport.makeCrashReport(t, "Ticking GridNode");
          CrashReportCategory crashreportcategory = crashreport.makeCategory( tt.gt.getClass().getSimpleName() + " being ticked." );
            tt.addEntityCrashInfo(crashreportcategory);
            throw new ReportedException(crashreport);
    }
  }
View Full Code Here

Examples of net.minecraft.util.ReportedException

  public byte getByte(String tag) {
    try {
      NBTTagByte nbtTagByte = (NBTTagByte) tagMap.get(tag);
      return nbtTagByte == null ? 0 : nbtTagByte.data;
    } catch (ClassCastException e) {
      throw new ReportedException(createCrashReport(tag, 1, e));
    }
  }
View Full Code Here

Examples of net.minecraft.util.ReportedException

  public short getShort(String tag) {
    try {
      NBTTagShort nbtTagShort = (NBTTagShort) tagMap.get(tag);
      return nbtTagShort == null ? 0 : nbtTagShort.data;
    } catch (ClassCastException e) {
      throw new ReportedException(createCrashReport(tag, 2, e));
    }
  }
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.