corba/src/share/classes/com/sun/corba/se/impl/transport/SocketOrChannelConnectionImpl.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright 2001-2004 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 2001-2007 Sun Microsystems, Inc. All Rights Reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Sun designates this |
7 * published by the Free Software Foundation. Sun designates this |
1055 // closure is needed (ie., cancel pending requests on the connection |
1055 // closure is needed (ie., cancel pending requests on the connection |
1056 // COMM_FAILURE as well. |
1056 // COMM_FAILURE as well. |
1057 |
1057 |
1058 // IIOPOutputStream will cleanup the connection info when it |
1058 // IIOPOutputStream will cleanup the connection info when it |
1059 // sees this exception. |
1059 // sees this exception. |
1060 throw wrapper.writeErrorSend(e1) ; |
1060 SystemException exc = wrapper.writeErrorSend(e1); |
|
1061 purgeCalls(exc, false, true); |
|
1062 throw exc; |
1061 } |
1063 } |
1062 } |
1064 } |
1063 |
1065 |
1064 public void registerWaiter(MessageMediator messageMediator) |
1066 public void registerWaiter(MessageMediator messageMediator) |
1065 { |
1067 { |