diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-03-29 21:21:02 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-03-29 21:21:02 +0000 |
commit | 20744ae1f1182d08e26b175f59d14041aabaf754 (patch) | |
tree | 937d125b80663966b3a61e13e744e28daf1f22da /java/src/IceGridGUI/Application/UpdateFailedException.java | |
parent | Java metadata (diff) | |
download | ice-20744ae1f1182d08e26b175f59d14041aabaf754.tar.bz2 ice-20744ae1f1182d08e26b175f59d14041aabaf754.tar.xz ice-20744ae1f1182d08e26b175f59d14041aabaf754.zip |
IceGrid GUI refactoring
Diffstat (limited to 'java/src/IceGridGUI/Application/UpdateFailedException.java')
-rwxr-xr-x | java/src/IceGridGUI/Application/UpdateFailedException.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/java/src/IceGridGUI/Application/UpdateFailedException.java b/java/src/IceGridGUI/Application/UpdateFailedException.java new file mode 100755 index 00000000000..2e400c63eec --- /dev/null +++ b/java/src/IceGridGUI/Application/UpdateFailedException.java @@ -0,0 +1,26 @@ +// **********************************************************************
+//
+// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+package IceGridGUI.Application;
+
+class UpdateFailedException extends Exception
+{
+ UpdateFailedException(TreeNode parent, String id)
+ {
+ _parent = parent;
+ _id = id;
+ }
+
+ public String toString()
+ {
+ return _parent.getFullId().toString() + " has already a child with '" + _id + "' as ID.";
+ }
+
+ private TreeNode _parent;
+ private String _id;
+}
|