/controller/src/main/java/org/jboss/as/controller/ControllerMessages.java
Java | 2581 lines | 563 code | 278 blank | 1740 comment | 0 complexity | ccdaba947bf12cfc63fd414f9d543e80 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
Large files files are truncated, but you can click here to view the full file
- /*
- * JBoss, Home of Professional Open Source.
- * Copyright 2011, Red Hat, Inc., and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
- package org.jboss.as.controller;
- import java.io.File;
- import java.io.IOException;
- import java.net.UnknownHostException;
- import java.util.Collection;
- import java.util.List;
- import java.util.Set;
- import java.util.concurrent.CancellationException;
- import javax.xml.namespace.QName;
- import javax.xml.stream.Location;
- import javax.xml.stream.XMLStreamException;
- import org.jboss.as.controller.descriptions.ModelDescriptionConstants;
- import org.jboss.as.controller.interfaces.InterfaceCriteria;
- import org.jboss.as.controller.parsing.Element;
- import org.jboss.as.controller.persistence.ConfigurationPersistenceException;
- import org.jboss.as.controller.registry.AttributeAccess.Storage;
- import org.jboss.as.controller.registry.OperationEntry.Flag;
- import org.jboss.as.protocol.mgmt.RequestProcessingException;
- import org.jboss.dmr.ModelNode;
- import org.jboss.dmr.ModelType;
- import org.jboss.logging.Messages;
- import org.jboss.logging.annotations.Cause;
- import org.jboss.logging.annotations.Message;
- import org.jboss.logging.annotations.MessageBundle;
- import org.jboss.logging.annotations.Param;
- import org.jboss.modules.ModuleIdentifier;
- import org.jboss.msc.service.ServiceName;
- import org.jboss.msc.service.StartException;
- /**
- * This module is using message IDs in the ranges 14600-14899 and 13400-13499.
- * <p/>
- * This file is using the subsets 14630-14899 and 13450-13499 for non-logger messages.
- * <p/>
- * See <a href="http://community.jboss.org/docs/DOC-16810">http://community.jboss.org/docs/DOC-16810</a> for the full
- * list of currently reserved JBAS message id blocks.
- * <p/>
- * Date: 02.11.2011
- *
- * Reserved logging id ranges from: http://community.jboss.org/wiki/LoggingIds: 14600 - 14899
- *
- *
- * @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
- */
- @MessageBundle(projectCode = "JBAS")
- public interface ControllerMessages {
- /**
- * The messages
- */
- ControllerMessages MESSAGES = Messages.getBundle(ControllerMessages.class);
- /**
- * Creates an exception indicating the {@code name} is already defined.
- *
- * @param name the name that is already defined.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14630, value = "%s already defined")
- XMLStreamException alreadyDefined(String name, @Param Location location);
- /**
- * Creates an exception indicating the {@code value} has already been declared.
- *
- * @param name the attribute name.
- * @param value the value that has already been declared.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14631, value = "%s %s already declared")
- XMLStreamException alreadyDeclared(String name, String value, @Param Location location);
- /**
- * Creates an exception indicating the {@code value} has already been declared.
- *
- * @param name the attribute name.
- * @param value the value that has already been declared.
- * @param parentName the name of the parent.
- * @param parentValue the parent value.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14632, value = "A %s %s already declared has already been declared in %s %s")
- XMLStreamException alreadyDeclared(String name, String value, String parentName, String parentValue, @Param Location location);
- /**
- * Creates an exception indicating the {@code value} has already been declared.
- *
- * @param name1 the first attribute name.
- * @param name2 the second attribute name.
- * @param value the value that has already been declared.
- * @param parentName the name of the parent.
- * @param parentValue the parent value.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14633, value = "A %s or a %s %s already declared has already been declared in %s %s")
- XMLStreamException alreadyDeclared(String name1, String name2, String value, String parentName, String parentValue, @Param Location location);
- /**
- * Creates an exception indicating the {@code type} with the {@code name} is already registered at the
- * {@code location}.
- *
- * @param type the type.
- * @param name the name.
- * @param location the location.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14634, value = "An %s named '%s' is already registered at location '%s'")
- IllegalArgumentException alreadyRegistered(String type, String name, String location);
- /**
- * Creates an exception indicating an ambiguous file name was found as there are multiple files ending in the
- * {@code suffix} were found in the directory.
- *
- * @param backupType the backup type.
- * @param searchDir the search directory.
- * @param suffix the file suffix.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14635, value = "Ambiguous configuration file name '%s' as there are multiple files in %s that end in %s")
- IllegalStateException ambiguousConfigurationFiles(String backupType, File searchDir, String suffix);
- /**
- * Creates an exception indicating an ambiguous name, represented by the {@code prefix} parameter, was found in
- * the directory, represented by the {@code dir} parameter.
- *
- * @param prefix the file prefix.
- * @param dir the search directory.
- * @param files the ambiguous files.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14636, value = "Ambiguous name '%s' in %s: %s")
- IllegalArgumentException ambiguousName(String prefix, String dir, Collection<String> files);
- /**
- * Creates an exception indicating a thread was interrupted waiting for a response for asynch operation.
- *
- * @return a {@link RequestProcessingException} for the error.
- */
- @Message(id = 14637, value = "Thread was interrupted waiting for a response for asynch operation")
- RequestProcessingException asynchOperationThreadInterrupted();
- /**
- * Creates an exception indicating no asynch request with the batch id, represented by the {@code batchId}
- * parameter.
- *
- * @param batchId the batch id.
- *
- * @return a {@link RequestProcessingException} for the error.
- */
- @Message(id = 14638, value = "No asynch request with batch id %d")
- RequestProcessingException asynchRequestNotFound(int batchId);
- /**
- * A message indicating the attribute, represented by the {@code attributeName} parameter, is not writable.
- *
- * @param attributeName the attribute name.
- *
- * @return the message.
- */
- @Message(id = 14639, value = "Attribute %s is not writable")
- String attributeNotWritable(String attributeName);
- /**
- * A message indicating the attribute, represented by the {@code attributeName} parameter, is a registered child of
- * the resource.
- *
- * @param attributeName the name of the attribute.
- * @param resource the resource the attribute is a child of.
- *
- * @return the message.
- */
- @Message(id = 14640, value = "'%s' is a registered child of resource (%s)")
- String attributeRegisteredOnResource(String attributeName, ModelNode resource);
- /**
- * Creates an exception indicating the inability to determine a default name based on the local host name.
- *
- * @param cause the cause of the error.
- *
- * @return a {@link RuntimeException} for the error.
- */
- @Message(id = 14641, value = "Unable to determine a default name based on the local host name")
- RuntimeException cannotDetermineDefaultName(@Cause Throwable cause);
- /**
- * Creates an exception indicating the file could not be created.
- *
- * @param path the path to the file.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14642, value = "Could not create %s")
- IllegalStateException cannotCreate(String path);
- /**
- * Creates an exception indicating the file could not be deleted.
- *
- * @param file the file to delete.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14643, value = "Could not delete %s")
- IllegalStateException cannotDelete(File file);
- /**
- * Creates an exception indicating a submodel cannot be registered with a {@code null} path.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14644, value = "Cannot register submodels with a null PathElement")
- IllegalArgumentException cannotRegisterSubmodelWithNullPath();
- /**
- * Creates an exception indicating a non-runtime-only submodel cannot be registered with a runtime-only parent.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14645, value = "Cannot register non-runtime-only submodels with a runtime-only parent")
- IllegalArgumentException cannotRegisterSubmodel();
- /**
- * Creates an exception indicating the inability to remove the {@code name}.
- *
- * @param name the name.
- *
- * @return an {@link OperationFailedRuntimeException} for the error.
- */
- @Message(id = 14646, value = "Cannot remove %s")
- OperationFailedRuntimeException cannotRemove(String name);
- /**
- * Creates an exception indicating the file could not be renamed.
- *
- * @param fromPath the from file.
- * @param toPath the to file.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14647, value = "Could not rename %s to %s")
- IllegalStateException cannotRename(String fromPath, String toPath);
- /**
- * Creates an exception indicating the inability to write the {@code name}.
- *
- * @param name the name.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14648, value = "Cannot write to %s")
- IllegalArgumentException cannotWriteTo(String name);
- /**
- * Creates an exception indicating a child, represented by the {@code childName} parameter, of the parent element,
- * represented by the {@code parentName} parameter, has already been declared.
- *
- * @param childName the child element name.
- * @param parentName the parent element name.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14649, value = "Child %s of element %s already declared")
- XMLStreamException childAlreadyDeclared(String childName, String parentName, @Param Location location);
- /**
- * Creates an exception indicating the canonical file for the boot file could not be found.
- *
- * @param cause the cause of the error.
- * @param file the boot file.
- *
- * @return an {@link RuntimeException} for the error.
- */
- @Message(id = 14650, value = "Could not get canonical file for boot file: %s")
- RuntimeException canonicalBootFileNotFound(@Cause Throwable cause, File file);
- /**
- * Creates an exception indicating the canonical file for the main file could not be found.
- *
- * @param cause the cause of the error.
- * @param file the main file.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14651, value = "Could not get canonical file for main file: %s")
- IllegalStateException canonicalMainFileNotFound(@Cause Throwable cause, File file);
- /**
- * A message indicating the channel is closed.
- *
- * @return the message.
- */
- @Message(id = 14652, value = "Channel closed")
- String channelClosed();
- /**
- * A message indicating the composite operation failed and was rolled back.
- *
- * @return the message.
- */
- @Message(id = 14653, value = "Composite operation failed and was rolled back. Steps that failed:")
- String compositeOperationFailed();
- /**
- * A message indicating the composite operation was rolled back.
- *
- * @return the message.
- */
- @Message(id = 14654, value = "Composite operation was rolled back")
- String compositeOperationRolledBack();
- /**
- * Creates an exception indicating a configuration file whose complete name is the same as the {@code backupType} is
- * not allowed.
- *
- * @param backupType the backup type.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14655, value = "Configuration files whose complete name is %s are not allowed")
- IllegalArgumentException configurationFileNameNotAllowed(String backupType);
- /**
- * Creates an exception indicating no configuration file ending in the {@code suffix} was found in the directory,
- * represented by the {@code dir} parameter.
- *
- * @param suffix the suffix.
- * @param dir the search directory.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14656, value = "No configuration file ending in %s found in %s")
- IllegalStateException configurationFileNotFound(String suffix, File dir);
- /**
- * Creates an exception indicating the directory. represented by the {@code pathName} parameter, was not found.
- *
- * @param pathName the path name.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14657, value = "No directory %s was found")
- IllegalArgumentException directoryNotFound(String pathName);
- /**
- * Creates an exception indicating either the {@code remoteName} or the {@code localName} domain controller
- * configuration must be declared.
- *
- * @param remoteName the remote element name.
- * @param localName the local element name.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14658, value = "Either a %s or %s domain controller configuration must be declared.")
- XMLStreamException domainControllerMustBeDeclared(String remoteName, String localName, @Param Location location);
- /**
- * Creates an exception indicating an attribute, represented by the {@code name} parameter, has already been
- * declared.
- *
- * @param name the attribute name.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14659, value = "An attribute named '%s' has already been declared")
- XMLStreamException duplicateAttribute(String name, @Param Location location);
- /**
- * Creates an exception indicating a duplicate declaration.
- *
- * @param name the name of the duplicate entry.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14660, value = "Duplicate %s declaration")
- XMLStreamException duplicateDeclaration(String name, @Param Location location);
- /**
- * Creates an exception indicating a duplicate declaration.
- *
- * @param name the name of the duplicate entry.
- * @param value the duplicate entry.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14661, value = "Duplicate %s declaration %s")
- XMLStreamException duplicateDeclaration(String name, String value, @Param Location location);
- /**
- * Creates an exception indicating ad duplicate path element, represented by the {@code name} parameter, was found.
- *
- * @param name the name of the duplicate entry.
- *
- * @return an {@link OperationFailedRuntimeException} for the error.
- */
- @Message(id = 14662, value = "Duplicate path element '%s' found")
- OperationFailedRuntimeException duplicateElement(String name);
- /**
- * Creates an exception indicating a duplicate interface declaration.
- *
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14663, value = "Duplicate interface declaration")
- XMLStreamException duplicateInterfaceDeclaration(@Param Location location);
- /**
- * Creates an exception indicating an element, represented by the {@code name} parameter, has already been
- * declared.
- *
- * @param name the element name.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14664, value = "An element of this type named '%s' has already been declared")
- XMLStreamException duplicateNamedElement(String name, @Param Location location);
- /**
- * Creates an exception indicating a duplicate profile was included.
- *
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14665, value = "Duplicate profile included")
- XMLStreamException duplicateProfile(@Param Location location);
- /**
- * Creates an exception indicating the resource is a duplicate.
- *
- * @param name the name of the resource.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14666, value = "Duplicate resource %s")
- IllegalStateException duplicateResource(String name);
- /**
- * Creates an exception indicating the resource type is a duplicate.
- *
- * @param type the duplicate type.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14667, value = "Duplicate resource type %s")
- IllegalStateException duplicateResourceType(String type);
- /**
- * A message indicating the element, represented by the {@code name} parameter, is not supported the file,
- * represented by the {@code file} parameter.
- *
- * @param name the name of the element.
- * @param fileName the file name.
- *
- * @return the message.
- */
- @Message(id = 14668, value = "Element %s is not supported in a %s file")
- String elementNotSupported(String name, String fileName);
- /**
- * A message indicating an error waiting for Tx commit/rollback.
- *
- * @return the message.
- */
- @Message(id = 14669, value = "Error waiting for Tx commit/rollback")
- String errorWaitingForTransaction();
- /**
- * Creates an exception indicating a failure to initialize the module.
- *
- * @param cause the cause of the error.
- * @param name the name of the module.
- *
- * @return a {@link RuntimeException} for the error.
- */
- @Message(id = 14670, value = "Failed initializing module %s")
- RuntimeException failedInitializingModule(@Cause Throwable cause, String name);
- /**
- * A message indicating the failed services.
- *
- * @return the message.
- */
- @Message(id = 14671, value = "Failed services")
- String failedServices();
- /**
- * Creates an exception indicating a failure to backup the file, represented by the {@code file} parameter.
- *
- * @param cause the cause of the error.
- * @param file the file that failed to backup.
- *
- * @return a {@link ConfigurationPersistenceException} for the error.
- */
- @Message(id = 14672, value = "Failed to back up %s")
- ConfigurationPersistenceException failedToBackup(@Cause Throwable cause, File file);
- /**
- * Creates an exception indicating a failure to create backup copies of configuration the file, represented by the
- * {@code file} parameter.
- *
- * @param cause the cause of the error.
- * @param file the configuration file that failed to backup.
- *
- * @return a {@link ConfigurationPersistenceException} for the error.
- */
- @Message(id = 14673, value = "Failed to create backup copies of configuration file %s")
- ConfigurationPersistenceException failedToCreateConfigurationBackup(@Cause Throwable cause, File file);
- /**
- * Creates an exception indicating a failure to load a module.
- *
- * @param cause the cause of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14674, value = "Failed to load module")
- XMLStreamException failedToLoadModule(@Cause Throwable cause);
- /**
- * Creates an exception indicating a failure to load a module.
- *
- * @param cause the cause of the error.
- * @param name the module name.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = Message.INHERIT, value = "Failed to load module %s")
- XMLStreamException failedToLoadModule(@Cause Throwable cause, String name);
- /**
- * Creates an exception indicating a failure to marshal the configuration.
- *
- * @param cause the cause of the error.
- *
- * @return a {@link ConfigurationPersistenceException} for the error.
- */
- @Message(id = 14675, value = "Failed to marshal configuration")
- ConfigurationPersistenceException failedToMarshalConfiguration(@Cause Throwable cause);
- /**
- * Creates an exception indicating a failure to parse the configuration.
- *
- * @param cause the cause of the error.
- *
- * @return a {@link ConfigurationPersistenceException} for the error.
- */
- @Message(id = 14676, value = "Failed to parse configuration")
- ConfigurationPersistenceException failedToParseConfiguration(@Cause Throwable cause);
- /**
- * Logs an error message indicating a failure to persist configuration change.
- *
- * @param cause the cause of the error.
- *
- * @return the message.
- */
- @Message(id = 14677, value = "Failed to persist configuration change: %s")
- String failedToPersistConfigurationChange(String cause);
- /**
- * Creates an exception indicating a failure to store the configuration.
- *
- * @param cause the cause of the error.
- *
- * @return a {@link ConfigurationPersistenceException} for the error.
- */
- @Message(id = 14678, value = "Failed to store configuration")
- ConfigurationPersistenceException failedToStoreConfiguration(@Cause Throwable cause);
- /**
- * Creates an exception indicating a failure to take a snapshot of the file, represented by the {@code file}
- * parameter.
- *
- * @param cause the cause of the error.
- * @param file the file that failed to take the snapshot of.
- * @param snapshot the snapshot file.
- *
- * @return a {@link ConfigurationPersistenceException} for the error.
- */
- @Message(id = 14679, value = "Failed to take a snapshot of %s to %s")
- ConfigurationPersistenceException failedToTakeSnapshot(@Cause Throwable cause, File file, File snapshot);
- /**
- * Creates an exception indicating a failure to write the configuration.
- *
- * @param cause the cause of the error.
- *
- * @return a {@link ConfigurationPersistenceException} for the error.
- */
- @Message(id = 14680, value = "Failed to write configuration")
- ConfigurationPersistenceException failedToWriteConfiguration(@Cause Throwable cause);
- /**
- * Creates an exception indicating {@code path1} does not exist.
- *
- * @param path1 the first non-existing path.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14681, value = "%s does not exist")
- IllegalArgumentException fileNotFound(String path1);
- /**
- * Creates an exception indicating no files beginning with the {@code prefix} were found in the directory,
- * represented by the {@code dir} parameter.
- *
- * @param prefix the file prefix.
- * @param dir the search directory.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14682, value = "No files beginning with '%s' found in %s")
- IllegalArgumentException fileNotFoundWithPrefix(String prefix, String dir);
- /**
- * Creates an exception indicating the {@code clazz} cannot be used except in a full server boot.
- *
- * @param clazz the class that cannot be used.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14683, value = "%s cannot be used except in a full server boot")
- IllegalStateException fullServerBootRequired(Class<?> clazz);
- /**
- * A message indicating that no included group with the name, represented by the {@code name} parameter, was found.
- *
- * @param name the name of the group.
- *
- * @return the message.
- */
- @Message(id = 14684, value = "No included group with name %s found")
- String groupNotFound(String name);
- /**
- * A message indicating the interface criteria must be of the type represented by the {@code valueType} parameter.
- *
- * @param invalidType the invalid type.
- * @param validType the valid type.
- *
- * @return the message.
- */
- @Message(id = 14685, value = "Illegal interface criteria type %s; must be %s")
- String illegalInterfaceCriteria(ModelType invalidType, ModelType validType);
- /**
- * A message indicating the value, represented by the {@code valueType} parameter, is invalid for the interface
- * criteria, represented by the {@code id} parameter.
- *
- * @param valueType the type of the invalid value.
- * @param id the id of the criteria interface.
- * @param validType the valid type.
- *
- * @return the message.
- */
- @Message(id = 14686, value = "Illegal value %s for interface criteria %s; must be %s")
- String illegalValueForInterfaceCriteria(ModelType valueType, String id, ModelType validType);
- /**
- * Creates an exception indicating the resource is immutable.
- *
- * @return an {@link UnsupportedOperationException} for the error.
- */
- @Message(id = 14687, value = "Resource is immutable")
- UnsupportedOperationException immutableResource();
- /**
- * An exception indicating the type is invalid.
- *
- * @param name the name the invalid type was found for.
- * @param validTypes a collection of valid types.
- * @param invalidType the invalid type.
- *
- * @return the exception.
- */
- @Message(id = 14688, value = "Wrong type for %s. Expected %s but was %s")
- OperationFailedException incorrectType(String name, Collection<ModelType> validTypes, ModelType invalidType);
- /**
- * A message indicating interrupted while waiting for request.
- *
- * @return the message.
- */
- @Message(id = 14689, value = "Interrupted while waiting for request")
- String interruptedWaitingForRequest();
- /**
- * A message indicating the {@code name} is invalid.
- *
- * @param name the name of the invalid attribute.
- *
- * @return the message.
- */
- @Message(id = 14690, value = "%s is invalid")
- String invalid(String name);
- /**
- * A message indicating the {@code value} is invalid.
- *
- * @param cause the cause of the error.
- * @param value the invalid value.
- * @param name the name of the invalid attribute.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14691, value = "%d is not a valid %s")
- XMLStreamException invalid(@Cause Throwable cause, int value, String name, @Param Location location);
- /**
- * A message indicating the address, represented by the {@code address} parameter, is invalid.
- *
- * @param address the invalid address.
- * @param msg the error message.
- *
- * @return the message.
- */
- @Message(id = 14692, value = "Invalid address %s (%s)")
- String invalidAddress(String address, String msg);
- /**
- * A message indicating the value, represented by the {@code value} parameter, is invalid and must be of the form
- * address/mask.
- *
- * @param value the invalid value.
- *
- * @return the message.
- */
- @Message(id = 14693, value = "Invalid 'value' %s -- must be of the form address/mask")
- String invalidAddressMaskValue(String value);
- /**
- * A message indicating the mask, represented by the {@code mask} parameter, is invalid.
- *
- * @param mask the invalid mask.
- * @param msg the error message.
- *
- * @return the message.
- */
- @Message(id = 14694, value = "Invalid mask %s (%s)")
- String invalidAddressMask(String mask, String msg);
- /**
- * A message indicating the address value, represented by the {@code value} parameter, is invalid.
- *
- * @param value the invalid address value.
- * @param msg the error message.
- *
- * @return the message.
- */
- @Message(id = 14695, value = "Invalid address %s (%s)")
- String invalidAddressValue(String value, String msg);
- /**
- * A message indicating the attribute, represented by the {@code attributeName} parameter, is invalid in
- * combination with the {@code combos} parameter.
- *
- * @param attributeName the attribute name.
- * @param combos the combinations.
- *
- * @return the message.
- */
- @Message(id = 14696, value = "%s is invalid in combination with %s")
- String invalidAttributeCombo(String attributeName, StringBuilder combos);
- /**
- * Creates an exception indicating an invalid value, represented by the {@code value} parameter, was found for the
- * attribute, represented by the {@code name} parameter.
- *
- * @param value the invalid value.
- * @param name the attribute name.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14697, value = "Invalid value '%s' for attribute '%s'")
- XMLStreamException invalidAttributeValue(String value, QName name, @Param Location location);
- /**
- * Creates an exception indicating an invalid value, represented by the {@code value} parameter, was found for the
- * attribute, represented by the {@code name} parameter. The value must be between the {@code minInclusive} and
- * {@code maxInclusive} values.
- *
- * @param value the invalid value.
- * @param name the attribute name.
- * @param minInclusive the minimum value allowed.
- * @param maxInclusive the maximum value allowed.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14698, value = "Illegal value %d for attribute '%s' must be between %d and %d (inclusive)")
- XMLStreamException invalidAttributeValue(int value, QName name, int minInclusive, int maxInclusive, @Param Location location);
- /**
- * Creates an exception indicating an invalid integer value, represented by the {@code value} parameter, was found
- * for the attribute, represented by the {@code name} parameter.
- *
- * @param cause the cause of the error.
- * @param value the invalid value.
- * @param name the attribute name.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14699, value = "Illegal value '%s' for attribute '%s' must be an integer")
- XMLStreamException invalidAttributeValueInt(@Cause Throwable cause, String value, QName name, @Param Location location);
- /**
- * A message indicating the pattern, represented by the {@code pattern} parameter, for the interface criteria,
- * represented by the {@code name} parameter, is invalid.
- *
- * @param pattern the pattern.
- * @param name the interface criteria.
- *
- * @return the message.
- */
- @Message(id = 14700, value = "Invalid pattern %s for interface criteria %s")
- String invalidInterfaceCriteriaPattern(String pattern, String name);
- /**
- * Creates an exception indicating the {@code key} is invalid.
- *
- * @param element the path element
- * @param key the invalid value.
- *
- * @return an {@link OperationFailedRuntimeException} for the error.
- */
- @Message(id = 14701, value = "Invalid resource address element '%s'. The key '%s' is not valid for an element in a resource address.")
- String invalidPathElementKey(String element, String key);
- /**
- * Creates an exception indicating the load factor must be greater than 0 and less than or equal to 1.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14702, value = "Load factor must be greater than 0 and less than or equal to 1")
- IllegalArgumentException invalidLoadFactor();
- /**
- * A message indicating the {@code value} parameter is invalid and must have a maximum length, represented by the
- * {@code length} parameter.
- *
- * @param value the invalid value.
- * @param name the name of the parameter.
- * @param length the maximum length.
- *
- * @return the message.
- */
- @Message(id = 14703, value = "'%s' is an invalid value for parameter %s. Values must have a maximum length of %d characters")
- String invalidMaxLength(String value, String name, int length);
- /**
- * A message indicating the {@code value} parameter is invalid and must have a minimum length, represented by the
- * {@code length} parameter.
- *
- * @param value the invalid value.
- * @param name the name of the parameter.
- * @param length the minimum length.
- *
- * @return the message.
- */
- @Message(id = 14704, value = "'%s' is an invalid value for parameter %s. Values must have a minimum length of %d characters")
- String invalidMinLength(String value, String name, int length);
- /**
- * A message indicating the {@code size} is an invalid size for the parameter, represented by the {@code name}
- * parameter.
- *
- * @param size the invalid size.
- * @param name the name of the parameter.
- * @param maxSize the maximum size allowed.
- *
- * @return the message
- */
- @Message(id = 14705, value = "[%d] is an invalid size for parameter %s. A maximum length of [%d] is required")
- String invalidMaxSize(int size, String name, int maxSize);
- /**
- * A message indicating the {@code size} is an invalid size for the parameter, represented by the {@code name}
- * parameter.
- *
- * @param size the invalid size.
- * @param name the name of the parameter.
- * @param minSize the minimum size allowed.
- *
- * @return the message
- */
- @Message(id = 14706, value = "[%d] is an invalid size for parameter %s. A minimum length of [%d] is required")
- String invalidMinSize(int size, String name, int minSize);
- /**
- * A message indicating the {@code value} is invalid for the parameter, represented by the {@code name} parameter.
- *
- * @param value the invalid value.
- * @param name the name of the parameter.
- * @param maxValue the minimum value required.
- *
- * @return the message.
- */
- @Message(id = 14707, value = "%d is an invalid value for parameter %s. A maximum value of %d is required")
- String invalidMaxValue(int value, String name, int maxValue);
- /**
- * A message indicating the {@code value} is invalid for the parameter, represented by the {@code name} parameter.
- *
- * @param value the invalid value.
- * @param name the name of the parameter.
- * @param maxValue the minimum value required.
- *
- * @return the message.
- */
- String invalidMaxValue(long value, String name, long maxValue);
- /**
- * A message indicating the {@code value} is invalid for the parameter, represented by the {@code name} parameter.
- *
- * @param value the invalid value.
- * @param name the name of the parameter.
- * @param minValue the minimum value required.
- *
- * @return the message.
- */
- @Message(id = 14708, value = "%d is an invalid value for parameter %s. A minimum value of %d is required")
- String invalidMinValue(int value, String name, int minValue);
- /**
- * A message indicating the {@code value} is invalid for the parameter, represented by the {@code name} parameter.
- *
- * @param value the invalid value.
- * @param name the name of the parameter.
- * @param minValue the minimum value required.
- *
- * @return the message.
- */
- String invalidMinValue(long value, String name, long minValue);
- /**
- * Creates an exception indicated an invalid modification after completed ste.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14709, value = "Invalid modification after completed step")
- IllegalStateException invalidModificationAfterCompletedStep();
- /**
- * Creates an exception indicating the {@code value} for the attribute, represented by the {@code name} parameter,
- * is not a valid multicast address.
- *
- * @param value the invalid value.
- * @param name the name of the attribute.\
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14710, value = "Value %s for attribute %s is not a valid multicast address")
- OperationFailedException invalidMulticastAddress(String value, String name);
- /**
- * Creates an exception indicating an outbound socket binding cannot have both the {@code localTag} and the
- * {@code remoteTag}.
- *
- * @param name the name of the socket binding.
- * @param localTag the local tag.
- * @param remoteTag the remote tag.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14711, value = "An outbound socket binding: %s cannot have both %s as well as a %s at the same time")
- XMLStreamException invalidOutboundSocketBinding(String name, String localTag, String remoteTag, @Param Location location);
- /**
- * Creates an exception indicating the {@code flag} is invalid.
- *
- * @param flag the invalid flag.
- * @param name the name of the parameter.
- * @param validFlags a collection of valid flags.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14712, value = "%s is not a valid value for parameter %s -- must be one of %s")
- IllegalArgumentException invalidParameterValue(Flag flag, String name, Collection<Flag> validFlags);
- /**
- * Creates an exception indicating the {@code value} for the attribute, represented by the {@code name} parameter,
- * does not represent a properly hex-encoded SHA1 hash.
- *
- * @param cause the cause of the error.
- * @param value the invalid value.
- * @param name the name of the attribute.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14713, value = "Value %s for attribute %s does not represent a properly hex-encoded SHA1 hash")
- XMLStreamException invalidSha1Value(@Cause Throwable cause, String value, String name, @Param Location location);
- /**
- * Creates an exception indicating the stage is not valid for the context process type.
- *
- * @param stage the stage.
- * @param processType the context process type.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14714, value = "Stage %s is not valid for context process type %s")
- IllegalStateException invalidStage(OperationContext.Stage stage, ProcessType processType);
- /**
- * Creates an exception indicating an invalid step stage specified.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14715, value = "Invalid step stage specified")
- IllegalArgumentException invalidStepStage();
- /**
- * Creates an exception indicating an invalid step stage for this context type.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14716, value = "Invalid step stage for this context type")
- IllegalArgumentException invalidStepStageForContext();
- /**
- * Creates an exception indicating the table cannot have a negative size.
- *
- * @return an {@link IllegalArgumentException} for the error.
- */
- @Message(id = 14717, value = "Can not have a negative size table!")
- IllegalArgumentException invalidTableSize();
- /**
- * A message indicating the type, represented by the {@code type} parameter, is invalid.
- *
- * @param type the invalid type.
- *
- * @return the message.
- */
- @Message(id = 14718, value = "Invalid type %s")
- String invalidType(ModelType type);
- /**
- * Creates an exception indicating the {@code value} is invalid.
- *
- * @param element the path element
- * @param value the invalid value.
- * @param character the invalid character
- *
- * @return an {@link OperationFailedRuntimeException} for the error.
- */
- @Message(id = 14719, value = "Invalid resource address element '%s'. The value '%s' is not valid for an element in a resource address. Character '%s' is not allowed.")
- String invalidPathElementValue(String element, String value, Character character);
- /**
- * A message indicating the {@code value} for the parameter, represented by the {@code name} parameter, is invalid.
- *
- * @param value the invalid value.
- * @param name the name of the parameter.
- * @param validValues a collection of valid values.
- *
- * @return the message.
- */
- @Message(id = 14720, value = "Invalid value %s for %s; legal values are %s")
- String invalidValue(String value, String name, Collection<?> validValues);
- /**
- * Creates an exception indicating the {@code value} for the {@code name} must be greater than the minimum value,
- * represented by the {@code minValue} parameter.
- *
- * @param name the name for the value that cannot be negative.
- * @param value the invalid value.
- * @param minValue the minimum value.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14721, value = "Illegal '%s' value %s -- must be greater than %s")
- XMLStreamException invalidValueGreaterThan(String name, int value, int minValue, @Param Location location);
- /**
- * Creates an exception indicating the {@code value} for the {@code name} cannot be negative.
- *
- * @param name the name for the value that cannot be negative.
- * @param value the invalid value.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14722, value = "Illegal '%s' value %s -- cannot be negative")
- XMLStreamException invalidValueNegative(String name, int value, @Param Location location);
- /**
- * Creates an exception indicating there must be one of the elements, represented by the {@code sb} parameter,
- * included.
- *
- * @param sb the acceptable elements.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14723, value = "Must include one of the following elements: %s")
- XMLStreamException missingOneOf(StringBuilder sb, @Param Location location);
- /**
- * Creates an exception indicating there are missing required attribute(s).
- *
- * @param sb the missing attributes.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14724, value = "Missing required attribute(s): %s")
- XMLStreamException missingRequiredAttributes(StringBuilder sb, @Param Location location);
- /**
- * Creates an exception indicating there are missing required element(s).
- *
- * @param sb the missing element.
- * @param location the location of the error.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14725, value = "Missing required element(s): %s")
- XMLStreamException missingRequiredElements(StringBuilder sb, @Param Location location);
- /**
- * Creates an exception indicating an interruption awaiting to load the module.
- *
- * @param name the name of the module.
- *
- * @return a {@link XMLStreamException} for the error.
- */
- @Message(id = 14726, value = "Interrupted awaiting loading of module %s")
- XMLStreamException moduleLoadingInterrupted(String name);
- /**
- * Creates an exception indicating an interruption awaiting to initialize the module.
- *
- * @param name the name of the module.
- *
- * @return a {@link RuntimeException} for the error.
- */
- @Message(id = 14727, value = "Interrupted awaiting initialization of module %s")
- RuntimeException moduleInitializationInterrupted(String name);
- /**
- * Creates an exception indicating a model contains multiple nodes.
- *
- * @param name the name of the node.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14728, value = "Model contains multiple %s nodes")
- IllegalStateException multipleModelNodes(String name);
- /**
- * A message indicating a namespace with the prefix, represented by the {@code prefix} parameter, is already
- * registered with the schema URI, represented by the {@code uri} parameter.
- *
- * @param prefix the namespace prefix.
- * @param uri the schema URI.
- *
- * @return the message.
- */
- @Message(id = 14729, value = "Namespace with prefix %s already registered with schema URI %s")
- String namespaceAlreadyRegistered(String prefix, String uri);
- /**
- * A message indicating no namespace with the URI {@code prefix}, was found.
- *
- * @param prefix the prefix.
- *
- * @return the message.
- */
- @Message(id = 14730, value = "No namespace with URI %s found")
- String namespaceNotFound(String prefix);
- /**
- * A message indicating the element, represented by the {@code element} parameter, does not allow nesting.
- *
- * @param element the element.
- *
- * @return the message.
- */
- @Message(id = 14731, value = "Nested %s not allowed")
- String nestedElementNotAllowed(Element element);
- /**
- * Creates an exception indicating no active request was found for handling the report represented by the {@code id}
- * parameter.
- *
- * @param id the batch id.
- *
- * @return a {@link RequestProcessingException} for the error.
- */
- @Message(id = 14732, value = "No active request found for handling report %d")
- RequestProcessingException noActiveRequestForHandlingReport(int id);
- /**
- * Creates an exception indicating no active request was found for proxy control represented by the {@code id}
- * parameter.
- *
- * @param id the batch id.
- *
- * @return a {@link RequestProcessingException} for the error.
- */
- @Message(id = 14733, value = "No active request found for proxy operation control %d")
- RequestProcessingException noActiveRequestForProxyOperation(int id);
- /**
- * Creates an exception indicating no active request was found for reading the inputstream report represented by
- * the {@code id} parameter.
- *
- * @param id the batch id.
- *
- * @return a {@link IOException} for the error.
- */
- @Message(id = 14734, value = "No active request found for reading inputstream report %d")
- IOException noActiveRequestForReadingInputStreamReport(int id);
- /**
- * Creates an exception indicating there is no active step.
- *
- * @return an {@link IllegalStateException} for the error.
- */
- @Message(id = 14735, value = "No active step")
- IllegalStateException noActiveStep();
- /**
- * Creates an exception indicating no active transaction found for the {@code id}.
- *
- * @param id the id.
- *
- * @return a {@link RequestProcessingException} for the error.
- */
- @Message(id = 14736, value = "No active tx found for id %d")
- RuntimeException noActiveTransaction(int id);
- /**
- * A message indicating there is no child registry for the child, represented by the {@code childT…
Large files files are truncated, but you can click here to view the full file