aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/aai/auth/AAIMicroServiceAuthCore.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/onap/aai/auth/AAIMicroServiceAuthCore.java')
-rw-r--r--src/main/java/org/onap/aai/auth/AAIMicroServiceAuthCore.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/aai/auth/AAIMicroServiceAuthCore.java b/src/main/java/org/onap/aai/auth/AAIMicroServiceAuthCore.java
index eae1a24..f1b3549 100644
--- a/src/main/java/org/onap/aai/auth/AAIMicroServiceAuthCore.java
+++ b/src/main/java/org/onap/aai/auth/AAIMicroServiceAuthCore.java
@@ -165,7 +165,7 @@ public class AAIMicroServiceAuthCore {
}
} catch (FileNotFoundException e) {
throw new AAIAuthException("Auth policy file could not be found", e);
- } catch (JsonProcessingException e) {
+ } catch (JsonProcessingException | NullPointerException e) {
throw new AAIAuthException("Error processing Auth policy file ", e);
} catch (IOException e) {
throw new AAIAuthException("Error reading Auth policy file", e);