Use a standard exception from SQLExceptionCode here, like TypeMismatchExcpetion