From b36ae21c88735cbd2c39c5ccde2572a8fcc4e928 Mon Sep 17 00:00:00 2001 From: Matthew Newhook Date: Thu, 7 Aug 2014 14:36:07 -0230 Subject: ICE-1593 Handling thread interrupts in Java - Added Ice.BackgroundIO property to perform all IO in a non-user thread. This makes Ice for Java interrupt safe. This is implemented by the QueueRequestHanbler. - EndpointHostResolver now uses an executor instead of a thread. - Added java/demo/Ice/interrupt and java/test/Ice/interrupt. - Made several changes that must be ported to C++ & C#. - InvocationTimeout exceptions can hang forever. - Connection establishment is always asynchronous. - RequestHandler.requestTimeout and asyncRequestTimeout have been renamed to requestCancel and asyncRequestCancel. --- cpp/src/Ice/Exception.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpp/src') diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp index af4e44e6087..a8bb8c6f81a 100644 --- a/cpp/src/Ice/Exception.cpp +++ b/cpp/src/Ice/Exception.cpp @@ -458,6 +458,14 @@ Ice::DNSException::ice_print(ostream& out) const out << "\nhost: " << host; } +void +Ice::OperationInterruptedException::ice_print(ostream& out) const +{ + Exception::ice_print(out); + out << ":\noperation interrupted"; +} + + void Ice::TimeoutException::ice_print(ostream& out) const { -- cgit v1.2.3