diff --git a/src/org/ods/orchestration/phases/DeployOdsComponent.groovy b/src/org/ods/orchestration/phases/DeployOdsComponent.groovy index e0bc16451..9e1f6600c 100644 --- a/src/org/ods/orchestration/phases/DeployOdsComponent.groovy +++ b/src/org/ods/orchestration/phases/DeployOdsComponent.groovy @@ -69,7 +69,7 @@ class DeployOdsComponent { } if (podData == null) { - throw new RuntimeException( + throw new DeployOdsComponentException( "Error: Could not find 'running' pod(s) with label" + "'${deploymentMean.selector}'" ) diff --git a/src/org/ods/orchestration/phases/DeployOdsComponentException.groovy b/src/org/ods/orchestration/phases/DeployOdsComponentException.groovy new file mode 100644 index 000000000..9f5512e7b --- /dev/null +++ b/src/org/ods/orchestration/phases/DeployOdsComponentException.groovy @@ -0,0 +1,19 @@ +package org.ods.orchestration.phases + +class DeployOdsComponentException extends RuntimeException { + + DeployOdsComponentException() { + } + + DeployOdsComponentException(String message) { + super(message) + } + + DeployOdsComponentException(String message, Throwable cause) { + super(message, cause) + } + + DeployOdsComponentException(Throwable cause) { + super(cause) + } +}