Exemplo n.º 1
0
        public static void Redireccionar(Exception ex, string url)
        {
            UrlParameterPasser urlWrapper = new UrlParameterPasser(url);

            urlWrapper["ex"] = Detalle(ex);
            urlWrapper.PassParameters();
        }
Exemplo n.º 2
0
        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;
     }
 }
Exemplo n.º 4
0
 public static void Redireccionar(Exception ex, string url)
 {
     UrlParameterPasser urlWrapper = new UrlParameterPasser(url);
     urlWrapper["ex"] = Detalle(ex);
     urlWrapper.PassParameters();
 }
Exemplo n.º 5
0
 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();
 }