avoid compiler error due to objc exception model.