public static ExceptionStatus ShowExceptionText(string message, Exception ex) { ExceptionStatus exceptionStatus = new ExceptionStatus(); exceptionStatus.ex = ex; exceptionStatus.message = message; return(exceptionStatus); }
public static ExceptionStatus ShowExceptionText(string message, Exception ex) { ExceptionStatus exceptionStatus = new ExceptionStatus(); exceptionStatus.ex = ex; exceptionStatus.message = message; return exceptionStatus; }
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); }
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; }
public FrmShowError(string errorMessage) { InitializeComponent(); _exStatus = new ExceptionStatus(); _exStatus.message = errorMessage; }
public FrmShowError(ExceptionStatus exstatus ) { InitializeComponent(); _exStatus = exstatus; }