directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r171079 - /directory/network/branches/0.7/src/java/org/apache/mina/io/filter/SSLFilter.java
Date Fri, 20 May 2005 08:31:53 GMT
Author: trustin
Date: Fri May 20 01:31:52 2005
New Revision: 171079

URL: http://svn.apache.org/viewcvs?rev=171079&view=rev
Log:
Fixed: DIRMINA-44


Modified:
    directory/network/branches/0.7/src/java/org/apache/mina/io/filter/SSLFilter.java

Modified: directory/network/branches/0.7/src/java/org/apache/mina/io/filter/SSLFilter.java
URL: http://svn.apache.org/viewcvs/directory/network/branches/0.7/src/java/org/apache/mina/io/filter/SSLFilter.java?rev=171079&r1=171078&r2=171079&view=diff
==============================================================================
--- directory/network/branches/0.7/src/java/org/apache/mina/io/filter/SSLFilter.java (original)
+++ directory/network/branches/0.7/src/java/org/apache/mina/io/filter/SSLFilter.java Fri May
20 01:31:52 2005
@@ -192,7 +192,7 @@
         nextFilter.sessionOpened( session );
     }
 
-    public void sessionClosed( NextFilter nextFilter, IoSession session )
+    public void sessionClosed( NextFilter nextFilter, IoSession session ) throws SSLException
     {
         SSLHandler sslHandler = getSSLSessionHandler( session );
         if( log.isLoggable( Level.FINEST ) )
@@ -212,10 +212,6 @@
                   // there might be data to write out here?
                   writeNetBuffer( nextFilter, session, sslHandler );
                }
-               catch( SSLException ssle )
-               {
-                  nextFilter.exceptionCaught( session, ssle );
-               }
                finally
                {
                   // notify closed session
@@ -269,7 +265,7 @@
                         ssle = newSSLE;
                     }
 
-                    nextFilter.exceptionCaught( session, ssle );
+                    throw ssle;
                 }
             }
         }



Mime
View raw message