summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2006-03-03 23:43:16 +0000
committerTom Tromey <tromey@redhat.com>2006-03-03 23:43:16 +0000
commitc18c316d61b53a928aa680fdeae78d7406911216 (patch)
tree9e7372c481dbba2e90037564f298a83b46fdadf8
parentd7cad4b81a14dae3eaf58908c62143fd9d2938af (diff)
downloadclasspath-c18c316d61b53a928aa680fdeae78d7406911216.tar.gz
* java/security/SignatureException.java (SignatureException): New
constructors. * java/security/ProviderException.java (ProviderException): New constructors. * java/security/NoSuchAlgorithmException.java (NoSuchAlgorithmException): New constructors. * java/security/KeyStoreException.java (KeyStoreException): New constructors. * java/security/KeyManagementException.java (KeyManagementException): New constructors. * java/security/InvalidKeyException.java (InvalidKeyException): New constructors. * java/security/KeyException.java (KeyException): New constructors. * java/security/InvalidAlgorithmParameterException.java (InvalidAlgorithmParameterException): New constructors. * java/security/DigestException.java (DigestException): New constructors. * java/security/GeneralSecurityException.java (GeneralSecurityException): New constructors.
-rw-r--r--ChangeLog22
-rw-r--r--java/security/DigestException.java24
-rw-r--r--java/security/GeneralSecurityException.java24
-rw-r--r--java/security/InvalidAlgorithmParameterException.java24
-rw-r--r--java/security/InvalidKeyException.java24
-rw-r--r--java/security/KeyException.java24
-rw-r--r--java/security/KeyManagementException.java24
-rw-r--r--java/security/KeyStoreException.java24
-rw-r--r--java/security/NoSuchAlgorithmException.java24
-rw-r--r--java/security/ProviderException.java24
-rw-r--r--java/security/SignatureException.java24
11 files changed, 252 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index c6a39f959..65b05eaa4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+2006-03-03 Tom Tromey <tromey@redhat.com>
+
+ * java/security/SignatureException.java (SignatureException): New
+ constructors.
+ * java/security/ProviderException.java (ProviderException): New
+ constructors.
+ * java/security/NoSuchAlgorithmException.java
+ (NoSuchAlgorithmException): New constructors.
+ * java/security/KeyStoreException.java (KeyStoreException): New
+ constructors.
+ * java/security/KeyManagementException.java (KeyManagementException):
+ New constructors.
+ * java/security/InvalidKeyException.java (InvalidKeyException): New
+ constructors.
+ * java/security/KeyException.java (KeyException): New constructors.
+ * java/security/InvalidAlgorithmParameterException.java
+ (InvalidAlgorithmParameterException): New constructors.
+ * java/security/DigestException.java (DigestException): New
+ constructors.
+ * java/security/GeneralSecurityException.java
+ (GeneralSecurityException): New constructors.
+
2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
diff --git a/java/security/DigestException.java b/java/security/DigestException.java
index 6393e0cc8..b4df0c1d5 100644
--- a/java/security/DigestException.java
+++ b/java/security/DigestException.java
@@ -1,5 +1,5 @@
/* DigestException.java -- A generic message digest exception
- Copyright (C) 1998, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2002, 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -67,4 +67,26 @@ public class DigestException extends GeneralSecurityException
{
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 DigestException(String s, Throwable cause)
+ {
+ super(s, cause);
+ }
+
+ /**
+ * Create a new instance with a cause.
+ * @param cause the cause
+ * @since 1.5
+ */
+ public DigestException(Throwable cause)
+ {
+ super(cause);
+ }
}
diff --git a/java/security/GeneralSecurityException.java b/java/security/GeneralSecurityException.java
index 72453ee8c..87e51ce3b 100644
--- a/java/security/GeneralSecurityException.java
+++ b/java/security/GeneralSecurityException.java
@@ -1,5 +1,5 @@
/* GeneralSecurityException.java -- Common superclass of security exceptions
- Copyright (C) 1998, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2002, 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -72,4 +72,26 @@ public class GeneralSecurityException extends Exception
{
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 GeneralSecurityException(String s, Throwable cause)
+ {
+ super(s, cause);
+ }
+
+ /**
+ * Create a new instance with a cause.
+ * @param cause the cause
+ * @since 1.5
+ */
+ public GeneralSecurityException(Throwable cause)
+ {
+ super(cause);
+ }
}
diff --git a/java/security/InvalidAlgorithmParameterException.java b/java/security/InvalidAlgorithmParameterException.java
index 9b7261995..aa77937fb 100644
--- a/java/security/InvalidAlgorithmParameterException.java
+++ b/java/security/InvalidAlgorithmParameterException.java
@@ -1,6 +1,6 @@
/* InvalidAlgorithmParameterException.java -- an invalid parameter to a
security algorithm
- Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -70,4 +70,26 @@ public class InvalidAlgorithmParameterException
{
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 InvalidAlgorithmParameterException(String s, Throwable cause)
+ {
+ super(s, cause);
+ }
+
+ /**
+ * Create a new instance with a cause.
+ * @param cause the cause
+ * @since 1.5
+ */
+ public InvalidAlgorithmParameterException(Throwable cause)
+ {
+ super(cause);
+ }
}
diff --git a/java/security/InvalidKeyException.java b/java/security/InvalidKeyException.java
index cd5845a61..39aa3df43 100644
--- a/java/security/InvalidKeyException.java
+++ b/java/security/InvalidKeyException.java
@@ -1,5 +1,5 @@
/* InvalidKeyException -- thrown for an invalid key
- Copyright (C) 2000, 2002 Free Software Foundation
+ Copyright (C) 2000, 2002, 2006 Free Software Foundation
This file is part of GNU Classpath.
@@ -66,4 +66,26 @@ public class InvalidKeyException extends KeyException
{
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 InvalidKeyException(String s, Throwable cause)
+ {
+ super(s, cause);
+ }
+
+ /**
+ * Create a new instance with a cause.
+ * @param cause the cause
+ * @since 1.5
+ */
+ public InvalidKeyException(Throwable cause)
+ {
+ super(cause);
+ }
}
diff --git a/java/security/KeyException.java b/java/security/KeyException.java
index feaf0249a..66f1feb64 100644
--- a/java/security/KeyException.java
+++ b/java/security/KeyException.java
@@ -1,5 +1,5 @@
/* KeyException.java -- Thrown when there is a problem with a key
- Copyright (C) 1998, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2002, 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -69,4 +69,26 @@ public class KeyException extends GeneralSecurityException
{
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 KeyException(String s, Throwable cause)
+ {
+ super(s, cause);
+ }
+
+ /**
+ * Create a new instance with a cause.
+ * @param cause the cause
+ * @since 1.5
+ */
+ public KeyException(Throwable cause)
+ {
+ super(cause);
+ }
}
diff --git a/java/security/KeyManagementException.java b/java/security/KeyManagementException.java
index 694b4c242..f39fe312e 100644
--- a/java/security/KeyManagementException.java
+++ b/java/security/KeyManagementException.java
@@ -1,5 +1,5 @@
/* KeyManagementException.java -- an exception in key management
- Copyright (C) 1998, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2002, 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -68,4 +68,26 @@ public class KeyManagementException extends KeyException
{
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 KeyManagementException(String s, Throwable cause)
+ {
+ super(s, cause);
+ }
+
+ /**
+ * Create a new instance with a cause.
+ * @param cause the cause
+ * @since 1.5
+ */
+ public KeyManagementException(Throwable cause)
+ {
+ super(cause);
+ }
}
diff --git a/java/security/KeyStoreException.java b/java/security/KeyStoreException.java
index 9a0a5354d..62f906e6e 100644
--- a/java/security/KeyStoreException.java
+++ b/java/security/KeyStoreException.java
@@ -1,5 +1,5 @@
/* KeyStoreException.java -- Indicates a problem with the key store
- Copyright (C) 1998, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2002, 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -67,4 +67,26 @@ public class KeyStoreException extends GeneralSecurityException
{
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 KeyStoreException(String s, Throwable cause)
+ {
+ super(s, cause);
+ }
+
+ /**
+ * Create a new instance with a cause.
+ * @param cause the cause
+ * @since 1.5
+ */
+ public KeyStoreException(Throwable cause)
+ {
+ super(cause);
+ }
}
diff --git a/java/security/NoSuchAlgorithmException.java b/java/security/NoSuchAlgorithmException.java
index 412d14a16..518f2f726 100644
--- a/java/security/NoSuchAlgorithmException.java
+++ b/java/security/NoSuchAlgorithmException.java
@@ -1,5 +1,5 @@
/* NoSuchAlgorithmException.java -- an algorithm was not available
- Copyright (C) 1998, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2002, 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -67,4 +67,26 @@ public class NoSuchAlgorithmException extends GeneralSecurityException
{
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 NoSuchAlgorithmException(String s, Throwable cause)
+ {
+ super(s, cause);
+ }
+
+ /**
+ * Create a new instance with a cause.
+ * @param cause the cause
+ * @since 1.5
+ */
+ public NoSuchAlgorithmException(Throwable cause)
+ {
+ super(cause);
+ }
}
diff --git a/java/security/ProviderException.java b/java/security/ProviderException.java
index 2dafcec34..4559a1708 100644
--- a/java/security/ProviderException.java
+++ b/java/security/ProviderException.java
@@ -1,5 +1,5 @@
/* ProviderException.java -- Generic security provider runtime exception
- Copyright (C) 1998, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2002, 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -67,4 +67,26 @@ public class ProviderException extends RuntimeException
{
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 ProviderException(String s, Throwable cause)
+ {
+ super(s, cause);
+ }
+
+ /**
+ * Create a new instance with a cause.
+ * @param cause the cause
+ * @since 1.5
+ */
+ public ProviderException(Throwable cause)
+ {
+ super(cause);
+ }
}
diff --git a/java/security/SignatureException.java b/java/security/SignatureException.java
index e294c16c3..b097bacfc 100644
--- a/java/security/SignatureException.java
+++ b/java/security/SignatureException.java
@@ -1,5 +1,5 @@
/* SignatureException.java -- Generic error in signature
- Copyright (C) 1998, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2002, 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -67,4 +67,26 @@ public class SignatureException extends GeneralSecurityException
{
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 SignatureException(String s, Throwable cause)
+ {
+ super(s, cause);
+ }
+
+ /**
+ * Create a new instance with a cause.
+ * @param cause the cause
+ * @since 1.5
+ */
+ public SignatureException(Throwable cause)
+ {
+ super(cause);
+ }
}