diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-02-23 11:18:08 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2022-02-23 11:18:08 +0100 |
commit | d49afeaea9c407da990ed494266a0cc8374f48c1 (patch) | |
tree | e088490857e4565c18f7333436d9087dfc01b27b /config-provisioning/src | |
parent | f0ae94a10d7a83ddee2eaa484f34f0bd4dd01e02 (diff) |
Replace 'out of capacity' by 'node allocation failure'
Diffstat (limited to 'config-provisioning/src')
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); - } - -} |