diff options
Diffstat (limited to 'libjava/java/security/KeyStore.java')
-rw-r--r-- | libjava/java/security/KeyStore.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/java/security/KeyStore.java b/libjava/java/security/KeyStore.java index cd3c2687cf7..5f0c159d7d2 100644 --- a/libjava/java/security/KeyStore.java +++ b/libjava/java/security/KeyStore.java @@ -43,6 +43,8 @@ import java.security.cert.CertificateException; import java.util.Date; import java.util.Enumeration; +import gnu.java.security.Engine; + /** * Keystore represents an in-memory collection of keys and * certificates. There are two types of entries: @@ -194,6 +196,10 @@ public class KeyStore { throw new KeyStoreException(type); } + catch (java.lang.reflect.InvocationTargetException ite) + { + throw new KeyStoreException(type); + } catch (ClassCastException cce) { throw new KeyStoreException(type); |