/Users/lyon/j4p/src/javassist/sample/evolve/CannotUpdateException.java

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