OPAL-2456 - added more information when throwing exceptions.
OPAL-2456 - added more info to the exception and add more test scenarios