/// <summary> /// Event thrown then a Http exception is unhandled /// </summary> /// <param name="args"></param> private void OnUnhandledException(HttpExceptionEventArgs args) { var ev = UnhandledException; if (ev != null) { ev(this, args); } }
protected virtual void OnUnhandledException(HttpExceptionEventArgs e) { var ev = UnhandledException; if (ev != null) { ev(this, e); } }
internal bool RaiseUnhandledException(HttpContext context, Exception exception) { if (context == null) { throw new ArgumentNullException("context"); } var e = new HttpExceptionEventArgs(context, exception); OnUnhandledException(e); return(e.Handled); }