Use annotations instead of try{}catch{}