summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/security/cert/CertificateParsingException.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/security/cert/CertificateParsingException.java')
-rw-r--r--libjava/classpath/java/security/cert/CertificateParsingException.java26
1 files changed, 24 insertions, 2 deletions
diff --git a/libjava/classpath/java/security/cert/CertificateParsingException.java b/libjava/classpath/java/security/cert/CertificateParsingException.java
index 61faa44386e..5a930f41bfc 100644
--- a/libjava/classpath/java/security/cert/CertificateParsingException.java
+++ b/libjava/classpath/java/security/cert/CertificateParsingException.java
@@ -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 @@ package java.security.cert;
*
* @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 @@ public class CertificateParsingException extends CertificateException
{
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);
+ }
}