public static void Redireccionar(Exception ex, string url) { UrlParameterPasser urlWrapper = new UrlParameterPasser(url); urlWrapper["ex"] = Detalle(ex); urlWrapper.PassParameters(); }
public static void Redireccionar(string idParm, string valor, string url) { UrlParameterPasser urlWrapper = new UrlParameterPasser(url); urlWrapper[idParm] = valor.Replace("<b>", String.Empty).Replace("<b/>", String.Empty); urlWrapper.PassParameters(); }
protected void Page_Load(object sender, EventArgs e) { try { UrlParameterPasser urlWrapper = new UrlParameterPasser(); string exString = urlWrapper["ex"]; Exception ex = new Exception(exString); EX.ExceptionManager.Publish(ex); MensajeLabel.Text = EX.Funciones.Detalle(ex); } catch { string auxEx = "Excepción tratando de mostrar o publicar la excepción original"; EX.ExceptionManager.Publish(new Exception(auxEx)); MensajeLabel.Text = auxEx; } }