/** * Construct an exception with an error code and default message that includes the provided IDs. * * @param errorCode a single word in camel case that uniquely identifies the error condition * @param serviceInstanceId the ID of the service instance * @param serviceDefinitionId the ID of the service definition */ public ServiceInstanceExistsException(String errorCode, String serviceInstanceId, String serviceDefinitionId) { super(errorCode, buildMessage(serviceInstanceId, serviceDefinitionId)); }
/** * Construct an exception with a default message that includes the provided IDs. * * @param serviceInstanceId the ID of the service instance * @param serviceDefinitionId the ID of the service definition */ public ServiceInstanceExistsException(String serviceInstanceId, String serviceDefinitionId) { super(buildMessage(serviceInstanceId, serviceDefinitionId)); }
/** * Construct an exception with a default message that includes the provided IDs. * * @param serviceInstanceId the ID of the service instance * @param serviceDefinitionId the ID of the service definition */ public ServiceInstanceExistsException(String serviceInstanceId, String serviceDefinitionId) { super(buildMessage(serviceInstanceId, serviceDefinitionId)); }
/** * Construct an exception with an error code and default message that includes the provided IDs. * * @param errorCode a single word in camel case that uniquely identifies the error condition * @param serviceInstanceId the ID of the service instance * @param serviceDefinitionId the ID of the service definition */ public ServiceInstanceExistsException(String errorCode, String serviceInstanceId, String serviceDefinitionId) { super(errorCode, buildMessage(serviceInstanceId, serviceDefinitionId)); }