summaryrefslogtreecommitdiffstats
path: root/base/java-tools
diff options
context:
space:
mode:
authorAbhishek Koneru <akoneru@redhat.com>2012-06-29 16:08:04 -0400
committerAde Lee <alee@redhat.com>2012-07-06 00:56:33 -0400
commit759d54747b779a1cb11f1b9fbfe8166e62dde03d (patch)
treeb9164f3213d6a0923e8293772fb8362849f327b6 /base/java-tools
parent9ce810c0b2fef9f70178dbeee8a3523755a2a260 (diff)
downloadpki-759d54747b779a1cb11f1b9fbfe8166e62dde03d.tar.gz
pki-759d54747b779a1cb11f1b9fbfe8166e62dde03d.tar.xz
pki-759d54747b779a1cb11f1b9fbfe8166e62dde03d.zip
Coverity CATCH_REXCEPTION and UNREAD_FIELD_CASES
Diffstat (limited to 'base/java-tools')
-rw-r--r--base/java-tools/src/com/netscape/cmstools/PasswordCache.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/base/java-tools/src/com/netscape/cmstools/PasswordCache.java b/base/java-tools/src/com/netscape/cmstools/PasswordCache.java
index dbc52a02a..89254a2a5 100644
--- a/base/java-tools/src/com/netscape/cmstools/PasswordCache.java
+++ b/base/java-tools/src/com/netscape/cmstools/PasswordCache.java
@@ -818,9 +818,12 @@ class PWsdrCache {
**/
return false;
}
- } catch (Exception e) {
- return false;
+ } catch (IOException e) {
+ throw e;
+ } catch (InterruptedException e) {
+ Thread.currentThread().interrupt();
}
+ return false;
}
public void debug(String msg) {