TEIID-2750 adding better handling for exceptions that occur before
determining the message key