summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/Outgoing.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-02-13 23:27:04 +0000
committerMark Spruiell <mes@zeroc.com>2002-02-13 23:27:04 +0000
commit2a261a5de6548cb08f72f9afcb287feadfdda4dd (patch)
tree7a6517ce40845e54f162689f2b538c3e43cfc4cb /java/src/IceInternal/Outgoing.java
parentThreadPool bug fixes, cleanup (diff)
downloadice-2a261a5de6548cb08f72f9afcb287feadfdda4dd.tar.bz2
ice-2a261a5de6548cb08f72f9afcb287feadfdda4dd.tar.xz
ice-2a261a5de6548cb08f72f9afcb287feadfdda4dd.zip
align with stable_32 in C++
Diffstat (limited to 'java/src/IceInternal/Outgoing.java')
-rw-r--r--java/src/IceInternal/Outgoing.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/java/src/IceInternal/Outgoing.java b/java/src/IceInternal/Outgoing.java
index 138a2ce056e..0bb6f7de39c 100644
--- a/java/src/IceInternal/Outgoing.java
+++ b/java/src/IceInternal/Outgoing.java
@@ -86,6 +86,7 @@ public final class Outgoing
super.finalize();
}
+ // Returns true if ok, false if user exception.
public boolean
invoke()
throws Ice.LocationForward, NonRepeatable
@@ -161,7 +162,7 @@ public final class Outgoing
throw new NonRepeatable(_exception);
}
- if (_state == StateException)
+ if (_state == StateUserException)
{
return false;
}
@@ -233,7 +234,7 @@ public final class Outgoing
// oneway requests as blobs.
//
_is.startReadEncaps();
- _state = StateException;
+ _state = StateUserException;
break;
}
@@ -326,8 +327,8 @@ public final class Outgoing
private static final int StateUnsent = 0;
private static final int StateInProgress = 1;
private static final int StateOK = 2;
- private static final int StateException = 3;
- private static final int StateLocationForward = 4;
+ private static final int StateLocationForward = 3;
+ private static final int StateUserException = 4;
private static final int StateLocalException = 5;
private int _state;