Less ambiguous error text
This commit is contained in:
parent
005202cbc5
commit
1fe7055b99
@ -70,7 +70,7 @@ public class UpdateInfoRetriever {
|
|||||||
*/
|
*/
|
||||||
public boolean isRunning() {
|
public boolean isRunning() {
|
||||||
if (this.fetcher == null) {
|
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();
|
return this.fetcher.isAlive();
|
||||||
}
|
}
|
||||||
@ -91,7 +91,7 @@ public class UpdateInfoRetriever {
|
|||||||
*/
|
*/
|
||||||
public UpdateInfo getUpdateInfo() {
|
public UpdateInfo getUpdateInfo() {
|
||||||
if (this.fetcher == null) {
|
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;
|
return this.fetcher.info;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user