catching unexpected exceptions in processor context