Insert exception into controller