More concise exception message
This commit is contained in:
parent
fcd6becad9
commit
4f2e347625
|
@ -357,7 +357,7 @@ public class DefaultPromise implements Promise {
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
throw new IllegalStateException("Promise was completed before");
|
throw new IllegalStateException("complete already");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -375,7 +375,7 @@ public class DefaultPromise implements Promise {
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
throw new IllegalStateException("Promise was completed before", cause);
|
throw new IllegalStateException("complete already", cause);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user