Fixed exception mapping TCK failure.

Change-Id: Ie5236b8487d66fb1922904b893e591b05021ae46
Signed-off-by: Marek Potociar <marek.potociar@oracle.com>