public interface ControllerClientMessages
Modifier and Type | Interface and Description |
---|---|
static class |
ControllerClientMessages.LeakDescription |
Modifier and Type | Field and Description |
---|---|
static ControllerClientMessages |
MESSAGES
The messages
|
Modifier and Type | Method and Description |
---|---|
IllegalStateException |
cannotAddDeploymentAction()
Creates an exception indicating after starting creation of the rollout plan no deployment actions can be added.
|
IllegalStateException |
cannotAddDeploymentActionsAfterStart()
Creates an exception indicating no deployment actions can be added after starting the creation of the rollout
plan.
|
String |
cannotConvert(String first,
String second)
A message indicating that
first cannot be converted to second . |
IllegalArgumentException |
cannotDeriveDeploymentName(URL url)
Creates an exception indicating the deployment name could not be derived from the URL.
|
IllegalArgumentException |
cannotUseDeploymentPlan()
Creates an exception indicating the
DeploymentPlan cannot be used because it was not created by this
manager. |
IOException |
channelClosed(IOException cause)
Creates an exception indicating the channel is closed.
|
ControllerClientMessages.LeakDescription |
controllerClientNotClosed()
Creates a leak description, used in the controller client to show the original allocation point creating the
client.
|
String |
domainDeploymentAlreadyExists(String name)
A message indicating the a deployment with the
name is already present in the domain. |
String |
failed()
The word failed.
|
IllegalStateException |
globalRollbackNotCompatible()
Creates an exception indicating a global rollback is not compatible with a server restart.
|
IllegalStateException |
gracefulShutdownAlreadyConfigured(long timeout)
Creates an exception indicating the graceful shutdown already configured with a timeout, represented by the
timeout parameter. |
String |
incompleteDeploymentReplace(String deploymentName,
String missingGroups)
A message indicating only one version of a deployment with a given unique name can exist in the domain.
|
IllegalStateException |
invalidActionType(DeploymentAction.Type type)
Creates an exception indicating the action type, represented by the
type parameter, is invalid. |
IllegalArgumentException |
invalidAddressType()
Creates an exception indicating the address must be of type
list . |
IllegalStateException |
invalidPrecedingAction(Object type)
Creates an exception indicating the preceding action was not a
type . |
IllegalArgumentException |
invalidUri(Throwable cause,
URL url)
Creates an exception indicating the URL is not a valid URI.
|
IllegalArgumentException |
invalidValue(String name,
int value,
int minValue)
Creates an exception indicating the value is invalid and must be greater than the
minValue . |
IllegalArgumentException |
invalidValue(String name,
int value,
int minValue,
int maxValue)
Creates an exception indicating the value is invalid and must be greater than the
minValue and less than
the maxValue . |
RuntimeException |
maxDisplayUnitLength()
Creates an exception indicating that screen real estate is expensive and displayUnits must be 5 characters or
less.
|
IOException |
noActiveRequest(int batchId)
Creates an exception indicating no active request found for the batch id.
|
IllegalArgumentException |
noFailureDescription()
Creates an exception indicating the operation was successful and no failure description exists.
|
String |
noFailureDetails()
A message indicating that no failure details were provided.
|
IllegalStateException |
notConfigured(String name)
Creates an exception indicating the
name is not configured. |
IllegalArgumentException |
nullVar(String name)
Creates an exception indicating the variable, represented by the
name parameter, is null . |
IllegalStateException |
objectIsClosed(String name)
Creates an exception indicating the object is closed.
|
IllegalArgumentException |
operationNameNotFound()
Creates an exception indicating the operation name was not defined.
|
RuntimeException |
operationOutcome(String outcome)
Creates an exception with the operation outcome.
|
IllegalStateException |
operationsNotAllowed(String name)
Creates an exception indicating operations are not not allowed after content and deployment modifications.
|
RollbackCancelledException |
rollbackCancelled()
Creates an exception indicating the rollback was cancelled.
|
RollbackCancelledException |
rollbackRolledBack()
Creates an exception indicating the rollback was itself rolled back.
|
RollbackCancelledException |
rollbackTimedOut()
Creates an exception indicating the rollback timed out.
|
String |
serverDeploymentAlreadyExists(String name)
A message indicating the a deployment with the
name is already present in the domain. |
IOException |
streamWasClosed() |
IllegalStateException |
unknownActionType(Object type)
Creates an exception indicating the action type, represented by the
type parameter, is unknown. |
static final ControllerClientMessages MESSAGES
IllegalStateException cannotAddDeploymentAction()
IllegalStateException
for the error.IllegalStateException cannotAddDeploymentActionsAfterStart()
IllegalStateException
for the error.String cannotConvert(String first, String second)
first
cannot be converted to second
.first
- the type that could not be converted.second
- the type attempting to be converted to.IllegalArgumentException cannotDeriveDeploymentName(URL url)
url
- the URL to the deployment.IllegalArgumentException
for the error.IllegalArgumentException cannotUseDeploymentPlan()
DeploymentPlan
cannot be used because it was not created by this
manager.IllegalArgumentException
for the error.IOException channelClosed(IOException cause)
IOException
for the error.String domainDeploymentAlreadyExists(String name)
name
is already present in the domain.name
- the name of the deployment.String failed()
IllegalStateException globalRollbackNotCompatible()
IllegalStateException
for the error.IllegalStateException gracefulShutdownAlreadyConfigured(long timeout)
timeout
parameter.timeout
- the already configured timeout.IllegalStateException
for the error.String incompleteDeploymentReplace(String deploymentName, String missingGroups)
deploymentName
- the deployment name.missingGroups
- the missing groups.IllegalStateException invalidActionType(DeploymentAction.Type type)
type
parameter, is invalid.type
- the invalid type.IllegalStateException
for the error.IllegalStateException invalidPrecedingAction(Object type)
type
.type
- the type that preceding action should be.IllegalStateException
for the error.IllegalArgumentException invalidUri(Throwable cause, URL url)
cause
- the cause of the error.url
- the URL.IllegalArgumentException
for the error.IllegalArgumentException invalidValue(String name, int value, int minValue)
minValue
.name
- the name for the value.value
- the invalid value.minValue
- the minimum value allowed.IllegalArgumentException
for the error.IllegalArgumentException invalidValue(String name, int value, int minValue, int maxValue)
minValue
and less than
the maxValue
.name
- the name for the value.value
- the invalid value.minValue
- the minimum value allowed.maxValue
- the maximum value allowedIllegalArgumentException
for the error.RuntimeException maxDisplayUnitLength()
RuntimeException
for the error.IOException noActiveRequest(int batchId)
batchId
- the batch id.IOException
for the error.String noFailureDetails()
IllegalStateException notConfigured(String name)
name
is not configured.name
- the name that is not configured.IllegalStateException
for the error.IllegalArgumentException nullVar(String name)
name
parameter, is null
.name
- the name of the variable.IllegalArgumentException
for the error.IllegalStateException objectIsClosed(String name)
name
- the name of the object.IllegalStateException
for the error.RuntimeException operationOutcome(String outcome)
outcome
- the operation outcome.RuntimeException
for the error.IllegalStateException operationsNotAllowed(String name)
name
- the name for the operations.IllegalStateException
for the error.RollbackCancelledException rollbackCancelled()
RollbackCancelledException
for the error.RollbackCancelledException rollbackRolledBack()
RollbackCancelledException
for the error.RollbackCancelledException rollbackTimedOut()
RollbackCancelledException
for the error.String serverDeploymentAlreadyExists(String name)
name
is already present in the domain.name
- the name of the deployment.IllegalStateException unknownActionType(Object type)
type
parameter, is unknown.type
- the unknown type.IllegalStateException
for the error.ControllerClientMessages.LeakDescription controllerClientNotClosed()
IllegalArgumentException noFailureDescription()
IllegalArgumentException
for the errorIllegalArgumentException operationNameNotFound()
IllegalArgumentException
for the errorIllegalArgumentException invalidAddressType()
list
.IllegalArgumentException
for the errorIOException streamWasClosed()
Copyright © 2018 JBoss by Red Hat. All rights reserved.