C#/ASP: How to handle exception from pages in master page?
===

I was wondering if there is any way for exception being handled in master page. Let's assume this very simple situation:

`Site.Master:`
       
    protected void Page_Init(object sender, EventArgs e)
        {
            try
            {
                DoStuffFromChildPage(); 
            }
            catch (Exception ex)
            {
                Response.Write(ex.Message);
            }

        }


`Default.aspx:`

    protected void Page_Init(object sender, EventArgs e)
        {
            throw new Exception("Test Exception");
        }

This is just a simple overview of my idea/concept. I'm trying to prevent writing try..catch code blocks in every single page which uses master.