19 references to SetFormatter
System.Web (19)
Cache\SqlCacheDependency.cs (2)
271outerException.SetFormatter(new UseLastUnhandledErrorFormatter(outerException)); 1115outerException.SetFormatter(new UseLastUnhandledErrorFormatter(outerException));
Configuration\HttpCapabilitiesBase.cs (1)
486httpUnhandledEx.SetFormatter(new UseLastUnhandledErrorFormatter(configEx));
DataAccess\SqlConnectionHelper.cs (2)
254httpExec.SetFormatter(new SqlExpressConnectionErrorFormatter(creatingDir ? DataConnectionErrorEnum.CanNotCreateDataDir : DataConnectionErrorEnum.CanNotWriteToDataDir)); 256httpExec.SetFormatter(new SqlExpressDBFileAutoCreationErrorFormatter(e));
Handlers\TraceHandler.cs (2)
90e.SetFormatter(new TraceHandlerErrorFormatter(!DeploymentSection.RetailInternal)); 124e.SetFormatter(new TraceHandlerErrorFormatter(false));
HttpApplication.cs (1)
3536error.SetFormatter(new PageForbiddenErrorFormatter(context.Request.Path, SR.GetString(SR.Handler_access_denied)));
HttpException.cs (5)
287SetFormatter(new UnhandledErrorFormatter(innerException, message, null)); 295SetFormatter(new UnhandledErrorFormatter(innerException, message, postMessage)); 330SetFormatter(new DynamicCompileErrorFormatter(this)); 492SetFormatter(new ParseErrorFormatter(this, System.Web.VirtualPath.GetVirtualPathString(virtualPath), sourceCode, 584SetFormatter(new UnhandledErrorFormatter(
HttpResponse.cs (1)
1401dummyException.SetFormatter(new CustomErrorFailedErrorFormatter());
State\sqlstateclientmanager.cs (2)
197outerException.SetFormatter(new UseLastUnhandledErrorFormatter(outerException)); 1220outerException.SetFormatter(new UseLastUnhandledErrorFormatter(outerException));
UI\SessionPageStatePersister.cs (1)
82newException.SetFormatter(new UseLastUnhandledErrorFormatter(newException));
UI\ViewStateException.cs (1)
114outer.SetFormatter(new UseLastUnhandledErrorFormatter(outer));
Util\altserialization.cs (1)
158outerException.SetFormatter(new UseLastUnhandledErrorFormatter(outerException));