aboutsummaryrefslogtreecommitdiffstats
path: root/sample/evolve/CannotUpdateException.java
diff options
context:
space:
mode:
Diffstat (limited to 'sample/evolve/CannotUpdateException.java')
-rw-r--r--sample/evolve/CannotUpdateException.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/sample/evolve/CannotUpdateException.java b/sample/evolve/CannotUpdateException.java
new file mode 100644
index 00000000..bd28bba6
--- /dev/null
+++ b/sample/evolve/CannotUpdateException.java
@@ -0,0 +1,14 @@
+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());
+ }
+}