I'm checking this in.

This adds some more new 1.5 constructors in java.security.

Tom

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

        * java/security/spec/InvalidKeySpecException.java
        (InvalidKeySpecException): New constructors.
        * java/security/cert/CertificateParsingException.java
        (CertificateParsingException): New constructors.
        * java/security/cert/CertificateEncodingException.java
        (CertificateEncodingException): New constructors.
        * java/security/cert/CertificateException.java (CertificateException):
        New constructors.
        * java/security/cert/CRLException.java (CRLException): New
        constructors.

Index: java/security/cert/CRLException.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/security/cert/CRLException.java,v
retrieving revision 1.5
diff -u -r1.5 CRLException.java
--- java/security/cert/CRLException.java        2 Jul 2005 20:32:40 -0000       
1.5
+++ java/security/cert/CRLException.java        3 Mar 2006 23:56:07 -0000
@@ -1,5 +1,5 @@
 /* CRLException.java -- Certificate Revocation List Exception
-   Copyright (C) 1999, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002, 2006 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -45,7 +45,7 @@
  *
  * @author Mark Benvenuto
  * @since 1.2
- * @status updated to 1.4
+ * @status updated to 1.5
 */
 public class CRLException extends GeneralSecurityException
 {
@@ -70,4 +70,26 @@
   {
     super(msg);
   }
+
+  /**
+   * Create a new instance with a descriptive error message and
+   * a cause.
+   * @param s the descriptive error message
+   * @param cause the cause
+   * @since 1.5
+   */
+  public CRLException(String s, Throwable cause)
+  {
+    super(s, cause);
+  }
+
+  /**
+   * Create a new instance with a cause.
+   * @param cause the cause
+   * @since 1.5
+   */
+  public CRLException(Throwable cause)
+  {
+    super(cause);
+  }
 }
Index: java/security/cert/CertificateEncodingException.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/java/security/cert/CertificateEncodingException.java,v
retrieving revision 1.5
diff -u -r1.5 CertificateEncodingException.java
--- java/security/cert/CertificateEncodingException.java        2 Jul 2005 
20:32:41 -0000       1.5
+++ java/security/cert/CertificateEncodingException.java        3 Mar 2006 
23:56:07 -0000
@@ -1,5 +1,5 @@
 /* CertificateEncodingException.java -- Certificate Encoding Exception
-   Copyright (C) 1999, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002, 2006 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -43,7 +43,7 @@
  *
  * @author Mark Benvenuto
  * @since 1.2
- * @status updated to 1.4
+ * @status updated to 1.5
  */
 public class CertificateEncodingException extends CertificateException
 {
@@ -68,4 +68,26 @@
   {
     super(msg);
   }
+
+  /**
+   * Create a new instance with a descriptive error message and
+   * a cause.
+   * @param s the descriptive error message
+   * @param cause the cause
+   * @since 1.5
+   */
+  public CertificateEncodingException(String s, Throwable cause)
+  {
+    super(s, cause);
+  }
+
+  /**
+   * Create a new instance with a cause.
+   * @param cause the cause
+   * @since 1.5
+   */
+  public CertificateEncodingException(Throwable cause)
+  {
+    super(cause);
+  }
 }
Index: java/security/cert/CertificateException.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/java/security/cert/CertificateException.java,v
retrieving revision 1.5
diff -u -r1.5 CertificateException.java
--- java/security/cert/CertificateException.java        2 Jul 2005 20:32:41 
-0000       1.5
+++ java/security/cert/CertificateException.java        3 Mar 2006 23:56:07 
-0000
@@ -1,5 +1,5 @@
 /* CertificateException.java -- Certificate Exception
-   Copyright (C) 1999, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002, 2006 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -46,7 +46,7 @@
  * @author Mark Benvenuto
  * @see Certificate
  * @since 1.2
- * @status updated to 1.4
+ * @status updated to 1.5
  */
 public class CertificateException extends GeneralSecurityException
 {
@@ -71,4 +71,26 @@
   {
     super(msg);
   }
+
+  /**
+   * Create a new instance with a descriptive error message and
+   * a cause.
+   * @param s the descriptive error message
+   * @param cause the cause
+   * @since 1.5
+   */
+  public CertificateException(String s, Throwable cause)
+  {
+    super(s, cause);
+  }
+
+  /**
+   * Create a new instance with a cause.
+   * @param cause the cause
+   * @since 1.5
+   */
+  public CertificateException(Throwable cause)
+  {
+    super(cause);
+  }
 }
Index: java/security/cert/CertificateParsingException.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/java/security/cert/CertificateParsingException.java,v
retrieving revision 1.5
diff -u -r1.5 CertificateParsingException.java
--- java/security/cert/CertificateParsingException.java 2 Jul 2005 20:32:41 
-0000       1.5
+++ java/security/cert/CertificateParsingException.java 3 Mar 2006 23:56:07 
-0000
@@ -1,5 +1,5 @@
 /* CertificateParsingException.java -- Certificate Parsing Exception
-   Copyright (C) 1999, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002, 2006 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -43,7 +43,7 @@
  *
  * @author Mark Benvenuto
  * @since 1.2
- * @status updated to 1.4
+ * @status updated to 1.5
 */
 public class CertificateParsingException extends CertificateException
 {
@@ -68,4 +68,26 @@
   {
     super(msg);
   }
+
+  /**
+   * Create a new instance with a descriptive error message and
+   * a cause.
+   * @param s the descriptive error message
+   * @param cause the cause
+   * @since 1.5
+   */
+  public CertificateParsingException(String s, Throwable cause)
+  {
+    super(s, cause);
+  }
+
+  /**
+   * Create a new instance with a cause.
+   * @param cause the cause
+   * @since 1.5
+   */
+  public CertificateParsingException(Throwable cause)
+  {
+    super(cause);
+  }
 }
Index: java/security/spec/InvalidKeySpecException.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/java/security/spec/InvalidKeySpecException.java,v
retrieving revision 1.5
diff -u -r1.5 InvalidKeySpecException.java
--- java/security/spec/InvalidKeySpecException.java     2 Jul 2005 20:32:41 
-0000       1.5
+++ java/security/spec/InvalidKeySpecException.java     3 Mar 2006 23:56:07 
-0000
@@ -1,5 +1,5 @@
 /* InvalidKeySpecException.java -- invalid KeySpec Exception
-   Copyright (C) 1999, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002, 2006 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -46,7 +46,7 @@
  * @author Mark Benvenuto
  * @see KeySpec
  * @since 1.2
- * @status updated to 1.4
+ * @status updated to 1.5
  */
 public class InvalidKeySpecException extends GeneralSecurityException
 {
@@ -71,4 +71,26 @@
   {
     super(msg);
   }
+
+  /**
+   * Create a new instance with a descriptive error message and
+   * a cause.
+   * @param s the descriptive error message
+   * @param cause the cause
+   * @since 1.5
+   */
+  public InvalidKeySpecException(String s, Throwable cause)
+  {
+    super(s, cause);
+  }
+
+  /**
+   * Create a new instance with a cause.
+   * @param cause the cause
+   * @since 1.5
+   */
+  public InvalidKeySpecException(Throwable cause)
+  {
+    super(cause);
+  }
 }

Reply via email to