public AbstractServerUpdateActionResult(UUID id, Result result, Throwable deploymentException) { if (id == null) throw ControllerClientLogger.ROOT_LOGGER.nullVar("id"); if (result == null) throw ControllerClientLogger.ROOT_LOGGER.nullVar("result"); this.id = id; this.result = result; this.deploymentException = deploymentException; }
/** * @param name * @param fullDomain */ public DuplicateDeploymentNameException(String name, boolean fullDomain) { super( (fullDomain ? ControllerClientLogger.ROOT_LOGGER.domainDeploymentAlreadyExists(name) : ControllerClientLogger.ROOT_LOGGER.serverDeploymentAlreadyExists(name))); this.name = name; }