handling exceptions. w00t.