diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2022-02-23 12:47:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-23 12:47:19 +0100 |
commit | 4c1babd6cd22cab305d779999f9f462ad3fa0427 (patch) | |
tree | 44ec3eed5d6d0519137eac8d7b9dffdaf7dbcab6 /config-provisioning | |
parent | 14719d7d2b44f84f55518d34c3852f652ab66d6c (diff) | |
parent | 6583a1c11ce9b221a803a22c3e1d32057984a0fb (diff) |
Merge pull request #21331 from vespa-engine/bratseth/out-of-capacity
Replace 'out of capacity' by 'node allocation failure'
Diffstat (limited to 'config-provisioning')
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); - } - -} |