diff --git a/dependency-reduced-pom.xml b/dependency-reduced-pom.xml
index b4bcd48..3af108c 100644
--- a/dependency-reduced-pom.xml
+++ b/dependency-reduced-pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.github.kerbity
Kerb
- 1.1.0
+ 1.2.0
diff --git a/pom.xml b/pom.xml
index 6cb6d39..eb2795d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
com.github.kerbity
Kerb
- 1.1.0
+ 1.2.0
21
diff --git a/src/main/java/com/github/kerbity/kerb/result/CompletableResultSet.java b/src/main/java/com/github/kerbity/kerb/result/CompletableResultSet.java
index e70cccf..058d2ab 100644
--- a/src/main/java/com/github/kerbity/kerb/result/CompletableResultSet.java
+++ b/src/main/java/com/github/kerbity/kerb/result/CompletableResultSet.java
@@ -197,16 +197,16 @@ public CompletableResultSet(int size) {
* @throws Exception If the result size is already equal or over the complete size.
* If the results have already been completed.
*/
- public @NotNull CompletableResultSet addResult(@Nullable T result) throws Exception {
+ public @NotNull CompletableResultSet addResult(@Nullable T result) {
// Check if the size is already maxed.
if (this.result.size() >= this.size) {
- throw new Exception("Completable result collection is already full.");
+ throw new RuntimeException("Completable result collection is already full.");
}
// Check if it has already been completed.
if (this.isComplete) {
- throw new Exception("Completable result collection has already been completed.");
+ throw new RuntimeException("Completable result collection has already been completed.");
}
// Add the result.