throw action exceptions properly