QAART-371 adding exception handling on fail response. This will provide ...

...us better information instead of arrayOutOfBoundException