1 18 19 package sync4j.framework.tools.beans; 20 21 import sync4j.framework.tools.beans.BeanException; 22 23 26 public class BeanNotFoundException extends BeanException { 27 28 public BeanNotFoundException() { 30 super(); 31 } 32 33 public BeanNotFoundException(String msg) { 34 super(msg); 35 } 36 37 public BeanNotFoundException(String msg, Throwable cause) { 38 super(msg, cause); 39 } 40 41 public BeanNotFoundException(String beanName, ClassLoader classLoader) { 42 super( "Resource " 43 + beanName 44 + " not found" 45 + " with " 46 + ((classLoader == null) ? "default calss loader" 47 : String.valueOf(classLoader)) 48 ); 49 } 50 } | Popular Tags |