public CEBakanlikException(EnumExceptionType pExceptionType, string pErrorMessage, string pErrorCode) { CleanParameters(); this.mExType = pExceptionType; this._errorMessage = pErrorMessage; this._errorCode = pErrorCode; }
public CEBakanlikException() { CleanParameters(); this.mExType = EnumExceptionType.SystemException; this._errorMessage = "Hata Oluştu"; this._errorCode = "SistemHatası"; }
public CEBakanlikException(EnumExceptionType pExceptionType, string pErrorDetail, string pErrorMessage, string pErrorCode, string pErrorMethodName, string pLogKey) { CleanParameters(); this.mExType = pExceptionType; this.mErrorDetail = pErrorDetail; this._errorMessage = pErrorMessage; this._errorCode = pErrorCode; this.mErrorMethodName = pErrorMethodName; this.mLogKey = pLogKey; }
public AurigoTestException(IDriverLinker driverRef, EnumExceptionType exceptionType, string msg) : base(msg) { DriverReference = driverRef; if (DriverReference != null) { ScreenshotPath = Helpers.GetImageLogFileWithFullPath(); //Take the screenshot Screenshot image = ((ITakesScreenshot)DriverReference.PrimaryDriver).GetScreenshot(); //Save the screenshot image.SaveAsFile(ScreenshotPath, ScreenshotImageFormat.Png); } }
public AurigoTestException(IDriverLinker driverRef, EnumExceptionType exceptionType, string msg, Exception innerException) : base(msg, innerException) { DriverReference = driverRef; }