From 1fe7055b99301d4495f07d8df1b755e402d59e4c Mon Sep 17 00:00:00 2001 From: SiboVG Date: Wed, 23 Nov 2022 18:15:14 +0100 Subject: [PATCH] Less ambiguous error text --- .../net/sf/openrocket/communication/UpdateInfoRetriever.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/net/sf/openrocket/communication/UpdateInfoRetriever.java b/core/src/net/sf/openrocket/communication/UpdateInfoRetriever.java index 1e4bbe0eb..d587f1c1c 100644 --- a/core/src/net/sf/openrocket/communication/UpdateInfoRetriever.java +++ b/core/src/net/sf/openrocket/communication/UpdateInfoRetriever.java @@ -70,7 +70,7 @@ public class UpdateInfoRetriever { */ public boolean isRunning() { if (this.fetcher == null) { - throw new IllegalStateException("startFetchUpdateInfo() has not been called"); + throw new IllegalStateException("Fetcher has not been called yet"); } return this.fetcher.isAlive(); } @@ -91,7 +91,7 @@ public class UpdateInfoRetriever { */ public UpdateInfo getUpdateInfo() { if (this.fetcher == null) { - throw new IllegalStateException("startFetchUpdateInfo() has not been called"); + throw new IllegalStateException("Fetcher has not been called yet"); } return this.fetcher.info; }