agree with @yongsheng , please raise the exception instead.