cvs commit: spice/sandbox/sca/src/java/org/realityforge/sca/connector Connector.java
Peter Donald <[email protected]> Wed, 12 Nov 2003 15:25:27 -0800
| Newsgroups | gmane.comp.java.spice.cvs |
|---|---|
| Message-ID | <[email protected]> |
donaldp 03/11/12 15:25:27
Modified: sandbox/sca/src/java/org/realityforge/sca/connector
Connector.java
Log:
Make sure the communications error is recorded as connection error.
Revision Changes Path
1.3 +1 -0 spice/sandbox/sca/src/java/org/realityforge/sca/connector/Connector.java
Index: Connector.java
===================================================================
RCS file: /cvsroot/spice/spice/sandbox/sca/src/java/org/realityforge/sca/connector/Connector.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Connector.java 12 Nov 2003 23:20:51 -0000 1.2
+++ Connector.java 12 Nov 2003 23:25:27 -0000 1.3
@@ -164,6 +164,7 @@
*/
public void commErrorOccured( final Throwable t )
{
+ _connectionError = t.toString();
if( getReconnectPolicy().disconnectOnError( t ) )
{
disconnect();
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/