diff options
Diffstat (limited to 'libjava/classpath/java/security/KeyException.java')
-rw-r--r-- | libjava/classpath/java/security/KeyException.java | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/libjava/classpath/java/security/KeyException.java b/libjava/classpath/java/security/KeyException.java index feaf0249a95..66f1feb64a6 100644 --- a/libjava/classpath/java/security/KeyException.java +++ b/libjava/classpath/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); + } } |