Changing exception handling to action error.