1 33 34 package edu.rice.cs.drjava.model; 35 36 import java.lang.ClassLoader ; 37 import java.lang.ClassNotFoundException ; 38 import java.net.URL ; 39 40 public class DeadClassLoader extends ClassLoader { 41 42 public URL getResource(String name) { return null; } 43 44 protected URL findResource(String name) { return null; } 45 46 public Class <?> loadClass(String name) throws ClassNotFoundException { 47 throw new ClassNotFoundException (name); 48 } 49 50 protected Class <?> loadClass(String name, boolean resolve) throws ClassNotFoundException { 51 throw new ClassNotFoundException (name); 52 } 53 54 protected Class <?> findClass(String name) throws ClassNotFoundException { 55 throw new ClassNotFoundException (name); 56 } 57 } 58 59 60 61 62 | Popular Tags |