Replace exception controller with resolvers