diff options
author | 2018-06-05 10:54:27 +0200 | |
---|---|---|
committer | 2018-06-11 10:11:41 +0200 | |
commit | b48ea0e307f5977b5d2b9dcc4ebb22a7bc3f1710 (patch) | |
tree | c7a64db3efb07f41fde28e232e47a12c4e620c75 /etc/ExceptionConfig.json | |
parent | 071fb8779fd4c8c4abfcb72c1ed266280461bed2 (diff) |
Fix bug about custom exceptions not being used
The bug was that custom exception config was never actually queried
because of the mismatch between the production code usages and .json config file.
Change-Id: I416ef5f45770f9bb55d5dff143277b6c62fa25ba
Issue-ID: DCAEGEN2-518
Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
Diffstat (limited to 'etc/ExceptionConfig.json')
-rw-r--r-- | etc/ExceptionConfig.json | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/etc/ExceptionConfig.json b/etc/ExceptionConfig.json deleted file mode 100644 index 1345cdcd..00000000 --- a/etc/ExceptionConfig.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "code" : { - "200" : - [ - { - "Reason" : "OK", - "ErrorCode": ["OK","Event message has been accepted"] - } - ], - - "204": [ - { - "Reason" : "Accepted", - "ErrorCode": ["OK","Event message has been accepted"] - } - ], - "400" : - [ - { - "Reason" : "BadParameter", - "ErrorCode": ["SVC0002","Bad Parameter" ] - }, - - { - "Reason" : "Error", - "ErrorCode": ["SVC2000","General Service Error with details"] - }, - { - "Reason" : "exceeded", - "ErrorCode": ["POL9003","Message content size exceeded" ] - } - - ], - "401" : - [ - { - "Reason" : "Unauthorized", - "ErrorCode": ["POL2000","Unauthorized user"] - } - ] - } -}
\ No newline at end of file |