summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Outgoing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Outgoing.cpp')
-rw-r--r--cpp/src/Ice/Outgoing.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/cpp/src/Ice/Outgoing.cpp b/cpp/src/Ice/Outgoing.cpp
index b2d7aa9e2b3..f4b3ea8b088 100644
--- a/cpp/src/Ice/Outgoing.cpp
+++ b/cpp/src/Ice/Outgoing.cpp
@@ -199,7 +199,7 @@ IceInternal::Outgoing::finished(Stream& is)
break;
}
- case DispatchException:
+ case DispatchUserException:
{
_state = StateException;
break;
@@ -225,6 +225,20 @@ IceInternal::Outgoing::finished(Stream& is)
break;
}
+ case DispatchLocalException:
+ {
+ _state = StateLocalException;
+ _exception = auto_ptr<LocalException>(new LocalException(__FILE__, __LINE__));
+ break;
+ }
+
+ case DispatchUnknownException:
+ {
+ _state = StateLocalException;
+ _exception = auto_ptr<LocalException>(new UnknownException(__FILE__, __LINE__));
+ break;
+ }
+
default:
{
_state = StateLocalException;