diff options
author | Ram Koya <rk541m@att.com> | 2018-05-09 17:56:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-09 17:56:16 +0000 |
commit | 66014e42213c316bfdd5b3925028914959ff723c (patch) | |
tree | 27d67876b66c59406f6ad1dd76dbe3900384bbec /src/main/java/com/att/nsa | |
parent | 43259d99726b937b12d37a11b24fc68d5ffbd061 (diff) | |
parent | 06f4353158c29d84920ebb2a730e483f149ea32c (diff) |
Merge "sonar critical for Exception handling"
Diffstat (limited to 'src/main/java/com/att/nsa')
-rw-r--r-- | src/main/java/com/att/nsa/cambria/resources/streamReaders/CambriaRawStreamReader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/cambria/resources/streamReaders/CambriaRawStreamReader.java b/src/main/java/com/att/nsa/cambria/resources/streamReaders/CambriaRawStreamReader.java index 16f6785..d562360 100644 --- a/src/main/java/com/att/nsa/cambria/resources/streamReaders/CambriaRawStreamReader.java +++ b/src/main/java/com/att/nsa/cambria/resources/streamReaders/CambriaRawStreamReader.java @@ -130,7 +130,7 @@ public class CambriaRawStreamReader implements reader } catch ( IOException e ) { - throw new CambriaApiException ( HttpServletResponse.SC_BAD_REQUEST, e.getMessage () ); + throw new CambriaApiException ( HttpServletResponse.SC_BAD_REQUEST, e.toString()); } } |