show message in view when exceptions caught