summaryrefslogtreecommitdiff
path: root/java/src
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-03-26 15:57:38 +0100
committerJose <jose@zeroc.com>2014-03-26 15:57:38 +0100
commitc0ed728efea2ee54ecac037c1136074a8c5f66c8 (patch)
treed327333a106ba935cf330c3337b22d35a48d2dc2 /java/src
parentFixed (ICE-5504) - OutgoingConnectionFactory compilation issue with Java 8 (diff)
downloadice-c0ed728efea2ee54ecac037c1136074a8c5f66c8.tar.bz2
ice-c0ed728efea2ee54ecac037c1136074a8c5f66c8.tar.xz
ice-c0ed728efea2ee54ecac037c1136074a8c5f66c8.zip
Fixed (ICE-5480) - Remove unused DynamicUserExceptionFactory from BasicStream.java
Diffstat (limited to 'java/src')
-rw-r--r--java/src/IceInternal/BasicStream.java46
1 files changed, 0 insertions, 46 deletions
diff --git a/java/src/IceInternal/BasicStream.java b/java/src/IceInternal/BasicStream.java
index 13a2692d249..3faa7a2968d 100644
--- a/java/src/IceInternal/BasicStream.java
+++ b/java/src/IceInternal/BasicStream.java
@@ -2572,40 +2572,6 @@ public class BasicStream
return "";
}
- private static final class DynamicUserExceptionFactory
- implements UserExceptionFactory
- {
- DynamicUserExceptionFactory(Class<?> c)
- {
- _class = c;
- }
-
- public void
- createAndThrow(String typeId)
- throws Ice.UserException
- {
- try
- {
- throw (Ice.UserException)_class.newInstance();
- }
- catch(Ice.UserException ex)
- {
- throw ex;
- }
- catch(java.lang.Exception ex)
- {
- throw new Ice.SyscallException(ex);
- }
- }
-
- public void
- destroy()
- {
- }
-
- private Class<?> _class;
- }
-
private Ice.UserException
createUserException(String id)
{
@@ -2766,18 +2732,6 @@ public class BasicStream
return buf.toString();
}
- //
- // Optional data member format.
- //
- private static final int MemberFormatF1 = 0;
- private static final int MemberFormatF2 = 1;
- private static final int MemberFormatF4 = 2;
- private static final int MemberFormatF8 = 3;
- private static final int MemberFormatVSize = 4;
- private static final int MemberFormatFSize = 5;
- private static final int MemberFormatReserved = 6;
- private static final int MemberFormatEndMarker = 7;
-
private Instance _instance;
private Buffer _buf;
private Object _closure;