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