SPSite.CatchAccessDeniedException property
SharePoint 2013
Reserved for internal use. Use the CatchAccessDeniedException property instead to specify whether SharePoint Foundation traps and handles “Access Denied” exceptions.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.Booleantrue if SharePoint Foundation traps and handles “Access Denied” exceptions; otherwise, false.