bug-fixes: TDIS-5220, if onerror(nullable) is 0 or '', should throw exceptions