1 7 8 package java.lang; 9 10 27 public class ExceptionInInitializerError extends LinkageError { 28 31 private static final long serialVersionUID = 1521711792217232256L; 32 33 41 private Throwable exception; 42 43 49 public ExceptionInInitializerError() { 50 initCause(null); } 52 53 61 public ExceptionInInitializerError(Throwable thrown) { 62 initCause(null); this.exception = thrown; 64 } 65 66 76 public ExceptionInInitializerError(String s) { 77 super(s); 78 initCause(null); } 80 81 94 public Throwable getException() { 95 return exception; 96 } 97 98 106 public Throwable getCause() { 107 return exception; 108 } 109 } 110 | Popular Tags |