More concise exception message

This commit is contained in:
Trustin Lee 2013-03-09 08:48:22 +09:00
parent fcd6becad9
commit 4f2e347625

View File

@ -357,7 +357,7 @@ public class DefaultPromise implements Promise {
notifyListeners();
return this;
}
throw new IllegalStateException("Promise was completed before");
throw new IllegalStateException("complete already");
}
@Override
@ -375,7 +375,7 @@ public class DefaultPromise implements Promise {
notifyListeners();
return this;
}
throw new IllegalStateException("Promise was completed before", cause);
throw new IllegalStateException("complete already", cause);
}
@Override