summaryrefslogtreecommitdiff
path: root/java/security/NoSuchAlgorithmException.java
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 /java/security/NoSuchAlgorithmException.java
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.
Diffstat (limited to 'java/security/NoSuchAlgorithmException.java')
-rw-r--r--java/security/NoSuchAlgorithmException.java24
1 files changed, 23 insertions, 1 deletions
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);
+ }
}