com.shinesolutions.aemorchestrator.exception.InstanceNotInHealthyStateException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-orchestrator Show documentation
Show all versions of aem-orchestrator Show documentation
Java application for orchestrating AEM infrastructure created using aem-aws-stack-builder
package com.shinesolutions.aemorchestrator.exception;
public class InstanceNotInHealthyStateException extends Exception {
private static final long serialVersionUID = 1L;
public InstanceNotInHealthyStateException(String instanceId) {
super(getMessage(instanceId));
}
public InstanceNotInHealthyStateException(String instanceId, Throwable cause) {
super(getMessage(instanceId), cause);
}
private static String getMessage(String instanceId) {
return "Instance with id " + instanceId + " is not responding to health checks within the designated time";
}
}