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