TEIID-2907 catching illegalargumentexception