summaryrefslogtreecommitdiffstats
path: root/auth/auth-batch
diff options
context:
space:
mode:
Diffstat (limited to 'auth/auth-batch')
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/update/Expiring.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/update/Expiring.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/update/Expiring.java
index d3b80d21..df631fe3 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/update/Expiring.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/update/Expiring.java
@@ -200,7 +200,7 @@ public class Expiring extends Batch {
trans.info().log("### Removed",Future.sizeForDeletion(),"Future and",Approval.sizeForDeletion(),"Approvals");
Future.resetLocalData();
Approval.resetLocalData();
- } catch (Throwable t) {
+ } catch (Exception t) {
t.printStackTrace();
}
@@ -233,7 +233,7 @@ public class Expiring extends Batch {
trans.info().log("### Removed",Future.sizeForDeletion(),"Future and",Approval.sizeForDeletion(),"Approvals");
Future.resetLocalData();
Approval.resetLocalData();
- } catch (Throwable t) {
+ } catch (Exception t) {
t.printStackTrace();
}
@@ -256,7 +256,7 @@ public class Expiring extends Batch {
trans.info().log("### Removed",Future.sizeForDeletion(),"Future and",Approval.sizeForDeletion(),"Approvals");
Future.resetLocalData();
Approval.resetLocalData();
- } catch (Throwable t) {
+ } catch (Exception t) {
t.printStackTrace();
}
} finally {
@@ -348,7 +348,7 @@ public class Expiring extends Batch {
trans.info().log("### Removed",Future.sizeForDeletion(),"Future and",Approval.sizeForDeletion(),"Approvals");
Future.resetLocalData();
Approval.resetLocalData();
- } catch (Throwable t) {
+ } catch (Exception t) {
t.printStackTrace();
}