1 7 8 package java.lang; 9 10 36 public class ClassNotFoundException extends Exception { 37 40 private static final long serialVersionUID = 9176873029745254542L; 41 42 49 private Throwable ex; 50 51 54 public ClassNotFoundException() { 55 super((Throwable )null); } 57 58 64 public ClassNotFoundException(String s) { 65 super(s, null); } 67 68 77 public ClassNotFoundException(String s, Throwable ex) { 78 super(s, null); this.ex = ex; 80 } 81 82 93 public Throwable getException() { 94 return ex; 95 } 96 97 105 public Throwable getCause() { 106 return ex; 107 } 108 } 109 | Popular Tags |