Java程序  |  15行  |  301 B

package sample.evolve;

/**
 * Signals that VersionManager.update() fails.
 */
public class CannotUpdateException extends Exception {
    public CannotUpdateException(String msg) {
	super(msg);
    }

    public CannotUpdateException(Exception e) {
	super("by " + e.toString());
    }
}