Add errorhandler for Exception