public SyncException(String message, SyncStage stage, string providerName, SyncExceptionType type = SyncExceptionType.Unknown, int errorCode = -1) : base(message) { this.SyncStage = stage; this.ProviderName = providerName; this.ErrorCode = errorCode; this.Type = type; }
public SyncException(string message, SyncStage stage, Exception exception, SyncExceptionType type = SyncExceptionType.Unknown) : base(message, exception) { this.ExceptionType = type; this.SyncStage = stage; }
public SyncException(string message, SyncExceptionType type = SyncExceptionType.Unknown) : base(message) { this.ExceptionType = type; this.SyncStage = SyncStage.None; }