KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > sample > evolve > CannotCreateException


1 package sample.evolve;
2
3 /**
4  * Signals that VersionManager.newInstance() fails.
5  */

6 public class CannotCreateException extends RuntimeException JavaDoc {
7     public CannotCreateException(String JavaDoc s) {
8     super(s);
9     }
10
11     public CannotCreateException(Exception JavaDoc e) {
12     super("by " + e.toString());
13     }
14 }
15
Popular Tags