summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/security/GeneralSecurityException.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/security/GeneralSecurityException.java')
-rw-r--r--libjava/classpath/java/security/GeneralSecurityException.java24
1 files changed, 23 insertions, 1 deletions
diff --git a/libjava/classpath/java/security/GeneralSecurityException.java b/libjava/classpath/java/security/GeneralSecurityException.java
index 72453ee8cbf..87e51ce3b50 100644
--- a/libjava/classpath/java/security/GeneralSecurityException.java
+++ b/libjava/classpath/java/security/GeneralSecurityException.java
@@ -1,5 +1,5 @@
/* GeneralSecurityException.java -- Common superclass of security exceptions
- 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.
@@ -72,4 +72,26 @@ public class GeneralSecurityException extends Exception
{
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 GeneralSecurityException(String s, Throwable cause)
+ {
+ super(s, cause);
+ }
+
+ /**
+ * Create a new instance with a cause.
+ * @param cause the cause
+ * @since 1.5
+ */
+ public GeneralSecurityException(Throwable cause)
+ {
+ super(cause);
+ }
}
OpenPOWER on IntegriCloud