001 package net.minecraft.src; 002 003 public class ReportedException extends RuntimeException 004 { 005 private final CrashReport field_71576_a; 006 007 public ReportedException(CrashReport par1CrashReport) 008 { 009 this.field_71576_a = par1CrashReport; 010 } 011 012 public CrashReport func_71575_a() 013 { 014 return this.field_71576_a; 015 } 016 017 public Throwable getCause() 018 { 019 return this.field_71576_a.func_71505_b(); 020 } 021 022 public String getMessage() 023 { 024 return this.field_71576_a.getDescription(); 025 } 026 }