summaryrefslogtreecommitdiff
path: root/java/src/Ice/SystemException.java
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2007-11-21 16:37:35 +1000
committerMichi Henning <michi@zeroc.com>2007-11-21 16:37:35 +1000
commita383113f0becaa15b7e047798aa57026133f9077 (patch)
treedb198efbd739eb6b6b3864c4fdbc0385e4f326be /java/src/Ice/SystemException.java
parentFix a problem where protocol selection and other runtime flags were (diff)
downloadice-a383113f0becaa15b7e047798aa57026133f9077.tar.bz2
ice-a383113f0becaa15b7e047798aa57026133f9077.tar.xz
ice-a383113f0becaa15b7e047798aa57026133f9077.zip
Bug 2541.
Diffstat (limited to 'java/src/Ice/SystemException.java')
-rw-r--r--java/src/Ice/SystemException.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/java/src/Ice/SystemException.java b/java/src/Ice/SystemException.java
new file mode 100644
index 00000000000..f642be3992d
--- /dev/null
+++ b/java/src/Ice/SystemException.java
@@ -0,0 +1,35 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2007 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 Ice;
+
+public abstract class SystemException extends LocalException implements Cloneable
+{
+ public java.lang.Object clone()
+ {
+ return super.clone();
+ }
+
+ public abstract String
+ ice_name();
+
+ public String
+ toString()
+ {
+ java.io.StringWriter sw = new java.io.StringWriter();
+ java.io.PrintWriter pw = new java.io.PrintWriter(sw);
+ IceUtil.OutputBase out = new IceUtil.OutputBase(pw);
+ out.setUseTab(false);
+ out.print(getClass().getName());
+ out.inc();
+ IceInternal.ValueWriter.write(this, out);
+ pw.flush();
+ return sw.toString();
+ }
+}