1 package javassist.sample.evolve; 2 3 /** 4 * Signals that VersionManager.newInstance() fails. 5 */ 6 public class CannotCreateException extends RuntimeException { 7 public CannotCreateException(String s) { 8 super(s); 9 } 10 11 public CannotCreateException(Exception e) { 12 super("by " + e.toString()); 13 } 14 } 15