Edit messages for more consistency
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
@@ -138,7 +138,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
if (Disposables != null)
{
- throw new Exception("CoinJoin tab opened before previous closed.");
+ throw new Exception("CoinJoin tab was opened before last one closed.");
}
Disposables = new CompositeDisposable();

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinListViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinListViewModel.cs
@@ -379,7 +379,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
if (Disposables != null)
{
- throw new Exception("CoinList opened before previous closed.");
+ throw new Exception("CoinList was opened before last one closed.");
}
Disposables = new CompositeDisposable();

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabViewModel.cs
@@ -62,7 +62,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
if (Disposables != null)
{
- throw new Exception("History Tab was opened before it was closed.");
+ throw new Exception("History Tab was opened before last one closed.");
}
Disposables = new CompositeDisposable();

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/PinPadViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/PinPadViewModel.cs
@@ -58,7 +58,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
if (Disposables != null)
{
- throw new Exception("Pin Pad Tab was opened before it was closed.");
+ throw new Exception("Pin Pad was opened before last one closed.");
}
Disposables = new CompositeDisposable();

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabViewModel.cs
@@ -137,7 +137,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
if (Disposables != null)
{
- throw new Exception("Receive tab opened before last one was closed.");
+ throw new Exception("Receive tab was opened before last one closed.");
}
Disposables = new CompositeDisposable();

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
@@ -1013,7 +1013,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
if (Disposables != null)
{
- throw new Exception("Send tab opened before last one closed.");
+ throw new Exception("Send tab was opened before last one closed.");
}
Disposables = new CompositeDisposable();

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/TransactionBroadcasterViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/TransactionBroadcasterViewModel.cs
@@ -144,7 +144,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
if (Disposables != null)
{
- throw new Exception("TransactionBroadcaster was opened before it was closed.");
+ throw new Exception("TransactionBroadcaster was opened before last one closed.");
}
Disposables = new CompositeDisposable();

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewerViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewerViewModel.cs
@@ -98,7 +98,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
if (Disposables != null)
{
- throw new Exception("Transaction Viewer was opened before it was closed.");
+ throw new Exception("Transaction Viewer was opened before last one closed.");
}
Disposables = new CompositeDisposable();

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletInfoViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletInfoViewModel.cs
@@ -163,7 +163,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
if (Disposables != null)
{
- throw new Exception("WalletInfo was opened before it was closed.");
+ throw new Exception("WalletInfo was opened before last one closed.");
}
Disposables = new CompositeDisposable();

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
@@ -95,7 +95,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
if (Disposables != null)
{
- throw new Exception("Wallet opened before it was closed.");
+ throw new Exception("Wallet was opened before last one closed.");
}
Disposables = new CompositeDisposable();

MODIFY
WalletWasabi.Gui/Dialogs/CannotCloseDialogViewModel.cs
WalletWasabi.Gui/Dialogs/CannotCloseDialogViewModel.cs
@@ -86,7 +86,7 @@ namespace WalletWasabi.Gui.Dialogs
{
if (Disposables != null)
{
- throw new Exception("Dialog opened before it was closed (cannotclose)");
+ throw new Exception("Dialog was opened before last one closed (cannotclose)");
}
Disposables = new CompositeDisposable();

MODIFY
WalletWasabi.Gui/Tabs/SettingsViewModel.cs
WalletWasabi.Gui/Tabs/SettingsViewModel.cs
@@ -108,7 +108,7 @@ namespace WalletWasabi.Gui.Tabs
{
if (Disposables != null)
{
- throw new Exception("Settings was opened before it was closed.");
+ throw new Exception("Settings was opened before last one closed.");
}
Disposables = new CompositeDisposable();

MODIFY
WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/InputRecognition/ModeEncodeCheck.cs
WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/InputRecognition/ModeEncodeCheck.cs
@@ -33,7 +33,7 @@ namespace Gma.QrCodeNet.Encoding.DataEncodation.InputRecognition
{
if (string.IsNullOrEmpty(content))
{
- throw new IndexOutOfRangeException("Input content should not be Null or empty");
+ throw new IndexOutOfRangeException("Input cannot be null or empty.");
}
System.Text.Encoding encoding;

MODIFY
WalletWasabi/Models/ChaumianCoinJoin/CcjRound.cs
WalletWasabi/Models/ChaumianCoinJoin/CcjRound.cs
@@ -458,7 +458,7 @@ namespace WalletWasabi.Models.ChaumianCoinJoin
timeout = SigningTimeout;
break;
- default: throw new InvalidOperationException("This is impossible to happen.");
+ default: throw new InvalidOperationException("This is impossible.");
}
// Delay asynchronously to the requested timeout.
@@ -543,7 +543,7 @@ namespace WalletWasabi.Models.ChaumianCoinJoin
}
break;
- default: throw new InvalidOperationException("This is impossible to happen.");
+ default: throw new InvalidOperationException("This is impossible.");
}
}
catch (Exception ex)

Edit messages for more consistency