diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/att/nsa/cambria/service/impl/UIServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/cambria/service/impl/UIServiceImpl.java b/src/main/java/com/att/nsa/cambria/service/impl/UIServiceImpl.java index 0fbf657..adebbd2 100644 --- a/src/main/java/com/att/nsa/cambria/service/impl/UIServiceImpl.java +++ b/src/main/java/com/att/nsa/cambria/service/impl/UIServiceImpl.java @@ -115,7 +115,7 @@ public class UIServiceImpl implements UIService { DMaaPResponseBuilder.respondOk(dmaapContext, key.asJsonObject()); } else { LOGGER.info("Details of apikey [" + apiKey + "] not found. Returning response"); - throw new Exception("Key [" + apiKey + "] not found."); + throw new IOException("Key [" + apiKey + "] not found."); } } |