[Beepcore-java-commits] CVS: beepcore-java/tls/org/beepcore/beep/profile/tls/jsse TLSProfileJSSE.jav
Status: Beta
Brought to you by:
huston
|
From: Huston F. <hu...@us...> - 2001-07-30 13:10:50
|
Update of /cvsroot/beepcore-java/beepcore-java/tls/org/beepcore/beep/profile/tls/jsse
In directory usw-pr-cvs1:/tmp/cvs-serv9285/jsse
Modified Files:
TLSProfileJSSE.java
Log Message:
Chaned printStackTrace to logEntry
Index: TLSProfileJSSE.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/tls/org/beepcore/beep/profile/tls/jsse/TLSProfileJSSE.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** TLSProfileJSSE.java 2001/07/12 07:09:10 1.2
--- TLSProfileJSSE.java 2001/07/30 13:10:47 1.3
***************
*** 634,644 ****
}
}
} catch (java.io.IOException e) {
! e.printStackTrace();
!
throw new BEEPException(ERR_TLS_SOCKET);
} catch (InterruptedException e) {
! e.printStackTrace();
!
throw new BEEPException(ERR_TLS_HANDSHAKE_WAIT);
}
--- 634,645 ----
}
}
+ } catch (javax.net.ssl.SSLException e) {
+ Log.logEntry(Log.SEV_ERROR, e);
+ throw new BEEPException(e.getMessage());
} catch (java.io.IOException e) {
! Log.logEntry(Log.SEV_ERROR, e);
throw new BEEPException(ERR_TLS_SOCKET);
} catch (InterruptedException e) {
! Log.logEntry(Log.SEV_ERROR, e);
throw new BEEPException(ERR_TLS_HANDSHAKE_WAIT);
}
|