I'm checking this in.

This adds some new 1.5 constructors in javax.net.ssl.
It also adds a missing serialVersionUID.

Tom

2006-03-03  Tom Tromey  <[EMAIL PROTECTED]>

        * javax/net/ssl/SSLException.java (SSLException): New constructors.
        (serialVersionUID): New field.

Index: javax/net/ssl/SSLException.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/net/ssl/SSLException.java,v
retrieving revision 1.2
diff -u -r1.2 SSLException.java
--- javax/net/ssl/SSLException.java     2 Jul 2005 20:32:45 -0000       1.2
+++ javax/net/ssl/SSLException.java     4 Mar 2006 00:01:41 -0000
@@ -1,5 +1,5 @@
 /* SSLException.java -- generic SSL exception.
-   Copyright (C) 2004 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2006 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -48,6 +48,7 @@
  */
 public class SSLException extends IOException
 {
+  private static final long serialVersionUID = 4511006460650708967L;
 
   // Constructor.
   // ------------------------------------------------------------------
@@ -56,4 +57,16 @@
   {
     super(message);
   }
+  
+  public SSLException(String message, Throwable cause)
+  {
+    super(message);
+    initCause(cause);
+  }
+  
+  public SSLException(Throwable cause)
+  {
+    super(cause == null ? null : cause.toString());
+    initCause(cause);
+  }
 }

Reply via email to