protected virtual void onThrowException(ExceptionEventArgs e) { var handler = ThrowException; if (handler != null) { handler(this, e); } }