aboutsummaryrefslogtreecommitdiffstats
path: root/config-provisioning/src
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-02-23 11:18:08 +0100
committerJon Bratseth <bratseth@gmail.com>2022-02-23 11:18:08 +0100
commitd49afeaea9c407da990ed494266a0cc8374f48c1 (patch)
treee088490857e4565c18f7333436d9087dfc01b27b /config-provisioning/src
parentf0ae94a10d7a83ddee2eaa484f34f0bd4dd01e02 (diff)
Replace 'out of capacity' by 'node allocation failure'
Diffstat (limited to 'config-provisioning/src')
-rw-r--r--config-provisioning/src/main/java/com/yahoo/config/provision/NodeAllocationException.java16
-rw-r--r--config-provisioning/src/main/java/com/yahoo/config/provision/OutOfCapacityException.java17
2 files changed, 16 insertions, 17 deletions
diff --git a/config-provisioning/src/main/java/com/yahoo/config/provision/NodeAllocationException.java b/config-provisioning/src/main/java/com/yahoo/config/provision/NodeAllocationException.java
new file mode 100644
index 00000000000..d568a61fc69
--- /dev/null
+++ b/config-provisioning/src/main/java/com/yahoo/config/provision/NodeAllocationException.java
@@ -0,0 +1,16 @@
+// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.config.provision;
+
+/**
+ *
+ * Exception thrown when we are unable to fulfill a node allocation request.
+ *
+ * @author hmusum
+ */
+public class NodeAllocationException extends RuntimeException {
+
+ public NodeAllocationException(String message) {
+ super(message);
+ }
+
+}
diff --git a/config-provisioning/src/main/java/com/yahoo/config/provision/OutOfCapacityException.java b/config-provisioning/src/main/java/com/yahoo/config/provision/OutOfCapacityException.java
deleted file mode 100644
index 177b3f6e198..00000000000
--- a/config-provisioning/src/main/java/com/yahoo/config/provision/OutOfCapacityException.java
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-package com.yahoo.config.provision;
-
-/**
- *
- * Exception thrown when we are unable to fulfill the request due to
- * having too few nodes (of the specified flavor)
- *
- * @author hmusum
- */
-public class OutOfCapacityException extends RuntimeException {
-
- public OutOfCapacityException(String message) {
- super(message);
- }
-
-}