trigget event on exception