Exemplo n.º 1
0
        public static ExceptionStatus ShowExceptionText(string message, Exception ex)
        {
            ExceptionStatus exceptionStatus = new ExceptionStatus();

            exceptionStatus.ex      = ex;
            exceptionStatus.message = message;

            return(exceptionStatus);
        }
Exemplo n.º 2
0
        public static ExceptionStatus ShowExceptionText(string message, Exception ex)
        {
            ExceptionStatus exceptionStatus = new ExceptionStatus();

            exceptionStatus.ex = ex;
            exceptionStatus.message = message;

            return exceptionStatus;
        }
Exemplo n.º 3
0
        public static ExceptionStatus ShowExceptionText(Exception ex)
        {
            ExceptionStatus exceptionStatus = new ExceptionStatus();

            exceptionStatus.ex      = ex;
            exceptionStatus.message = ex is LQTUserException?
                                      ex.ToString() : "Error while trying to read or write into the database, please contact your IT administrator";

            return(exceptionStatus);
        }
Exemplo n.º 4
0
        public static ExceptionStatus ShowExceptionText(Exception ex)
        {
            ExceptionStatus exceptionStatus = new ExceptionStatus();

            exceptionStatus.ex = ex;
            exceptionStatus.message = ex is LQTUserException ?
                ex.ToString() : "Error while trying to read or write into the database, please contact your IT administrator";

            return exceptionStatus;
        }
Exemplo n.º 5
0
 public FrmShowError(string errorMessage)
 {
     InitializeComponent();
     _exStatus = new ExceptionStatus();
     _exStatus.message = errorMessage;
 }
Exemplo n.º 6
0
 public FrmShowError(ExceptionStatus exstatus )
 {
     InitializeComponent();
     _exStatus = exstatus;
 }