Catch an exception in MapFragment