protected void Page_Load(object sender, EventArgs e) { try { m_framesetHelper = new FramesetHelper(); m_framesetHelper.ProcessPageLoad(PStore, ProcessViewParameter, ProcessAttemptIdParameter, ProcessViewRequest); } catch (System.Threading.ThreadAbortException) { // Do nothing } catch (FileNotFoundException) { Response.StatusCode = 404; Response.StatusDescription = "Not Found"; } catch (System.Web.HttpException) { // Something wrong with the http connection, so in this case do not set the response // headers. RegisterError(IUDICO.TestingSystem.Localization.getMessage("FRM_NotAvailableTitleHtml"), IUDICO.TestingSystem.Localization.getMessage("FRM_NotAvailableHtml"), false); } catch (Exception) { // Doesn't matter why. Response.StatusCode = 500; Response.StatusDescription = "Internal Server Error"; RegisterError(IUDICO.TestingSystem.Localization.getMessage("FRM_NotAvailableTitleHtml"), IUDICO.TestingSystem.Localization.getMessage("FRM_NotAvailableHtml"), false); } }
protected void Page_Load(object sender, EventArgs e) { try { m_framesetHelper = new FramesetHelper(); m_framesetHelper.ProcessPageLoad(PStore, ProcessViewParameter, ProcessAttemptIdParameter, ProcessViewRequest); } catch (System.Threading.ThreadAbortException) { // Do nothing } catch (FileNotFoundException) { Response.StatusCode = 404; Response.StatusDescription = "Not Found"; } catch (System.Web.HttpException) { // Something wrong with the http connection, so in this case do not set the response // headers. RegisterError(IUDICO.TestingSystem.Localization.getMessage("FRM_NotAvailableTitleHtml"), IUDICO.TestingSystem.Localization.getMessage("FRM_NotAvailableHtml"), false); } catch (Exception) { // Doesn't matter why. Response.StatusCode = 500; Response.StatusDescription = "Internal Server Error"; RegisterError(IUDICO.TestingSystem.Localization.getMessage("FRM_NotAvailableTitleHtml"), IUDICO.TestingSystem.Localization.getMessage("FRM_NotAvailableHtml"), false); } }