Exception handling

somewhere in controller