TEIID-2271 fix for the exception case