From 3e49530cc4a0df6a23df163c8da936097b571ce4 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 3 Mar 2006 23:57:40 +0000 Subject: * 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. --- java/security/spec/InvalidKeySpecException.java | 26 +++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'java/security/spec/InvalidKeySpecException.java') diff --git a/java/security/spec/InvalidKeySpecException.java b/java/security/spec/InvalidKeySpecException.java index c2ec6b03b..bbbbcc6d7 100644 --- a/java/security/spec/InvalidKeySpecException.java +++ b/java/security/spec/InvalidKeySpecException.java @@ -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 @@ import java.security.GeneralSecurityException; * @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 @@ public class InvalidKeySpecException 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 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); + } } -- cgit v1.2.1