PageRenderTime 72ms CodeModel.GetById 30ms RepoModel.GetById 0ms app.codeStats 1ms

/controller/src/main/java/org/jboss/as/controller/ControllerMessages.java

https://bitbucket.org/asirnayeef22/jboss-as
Java | 2581 lines | 563 code | 278 blank | 1740 comment | 0 complexity | ccdaba947bf12cfc63fd414f9d543e80 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. /*
  2. * JBoss, Home of Professional Open Source.
  3. * Copyright 2011, Red Hat, Inc., and individual contributors
  4. * as indicated by the @author tags. See the copyright.txt file in the
  5. * distribution for a full listing of individual contributors.
  6. *
  7. * This is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU Lesser General Public License as
  9. * published by the Free Software Foundation; either version 2.1 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This software is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this software; if not, write to the Free
  19. * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  20. * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  21. */
  22. package org.jboss.as.controller;
  23. import java.io.File;
  24. import java.io.IOException;
  25. import java.net.UnknownHostException;
  26. import java.util.Collection;
  27. import java.util.List;
  28. import java.util.Set;
  29. import java.util.concurrent.CancellationException;
  30. import javax.xml.namespace.QName;
  31. import javax.xml.stream.Location;
  32. import javax.xml.stream.XMLStreamException;
  33. import org.jboss.as.controller.descriptions.ModelDescriptionConstants;
  34. import org.jboss.as.controller.interfaces.InterfaceCriteria;
  35. import org.jboss.as.controller.parsing.Element;
  36. import org.jboss.as.controller.persistence.ConfigurationPersistenceException;
  37. import org.jboss.as.controller.registry.AttributeAccess.Storage;
  38. import org.jboss.as.controller.registry.OperationEntry.Flag;
  39. import org.jboss.as.protocol.mgmt.RequestProcessingException;
  40. import org.jboss.dmr.ModelNode;
  41. import org.jboss.dmr.ModelType;
  42. import org.jboss.logging.Messages;
  43. import org.jboss.logging.annotations.Cause;
  44. import org.jboss.logging.annotations.Message;
  45. import org.jboss.logging.annotations.MessageBundle;
  46. import org.jboss.logging.annotations.Param;
  47. import org.jboss.modules.ModuleIdentifier;
  48. import org.jboss.msc.service.ServiceName;
  49. import org.jboss.msc.service.StartException;
  50. /**
  51. * This module is using message IDs in the ranges 14600-14899 and 13400-13499.
  52. * <p/>
  53. * This file is using the subsets 14630-14899 and 13450-13499 for non-logger messages.
  54. * <p/>
  55. * See <a href="http://community.jboss.org/docs/DOC-16810">http://community.jboss.org/docs/DOC-16810</a> for the full
  56. * list of currently reserved JBAS message id blocks.
  57. * <p/>
  58. * Date: 02.11.2011
  59. *
  60. * Reserved logging id ranges from: http://community.jboss.org/wiki/LoggingIds: 14600 - 14899
  61. *
  62. *
  63. * @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
  64. */
  65. @MessageBundle(projectCode = "JBAS")
  66. public interface ControllerMessages {
  67. /**
  68. * The messages
  69. */
  70. ControllerMessages MESSAGES = Messages.getBundle(ControllerMessages.class);
  71. /**
  72. * Creates an exception indicating the {@code name} is already defined.
  73. *
  74. * @param name the name that is already defined.
  75. * @param location the location of the error.
  76. *
  77. * @return a {@link XMLStreamException} for the error.
  78. */
  79. @Message(id = 14630, value = "%s already defined")
  80. XMLStreamException alreadyDefined(String name, @Param Location location);
  81. /**
  82. * Creates an exception indicating the {@code value} has already been declared.
  83. *
  84. * @param name the attribute name.
  85. * @param value the value that has already been declared.
  86. * @param location the location of the error.
  87. *
  88. * @return a {@link XMLStreamException} for the error.
  89. */
  90. @Message(id = 14631, value = "%s %s already declared")
  91. XMLStreamException alreadyDeclared(String name, String value, @Param Location location);
  92. /**
  93. * Creates an exception indicating the {@code value} has already been declared.
  94. *
  95. * @param name the attribute name.
  96. * @param value the value that has already been declared.
  97. * @param parentName the name of the parent.
  98. * @param parentValue the parent value.
  99. * @param location the location of the error.
  100. *
  101. * @return a {@link XMLStreamException} for the error.
  102. */
  103. @Message(id = 14632, value = "A %s %s already declared has already been declared in %s %s")
  104. XMLStreamException alreadyDeclared(String name, String value, String parentName, String parentValue, @Param Location location);
  105. /**
  106. * Creates an exception indicating the {@code value} has already been declared.
  107. *
  108. * @param name1 the first attribute name.
  109. * @param name2 the second attribute name.
  110. * @param value the value that has already been declared.
  111. * @param parentName the name of the parent.
  112. * @param parentValue the parent value.
  113. * @param location the location of the error.
  114. *
  115. * @return a {@link XMLStreamException} for the error.
  116. */
  117. @Message(id = 14633, value = "A %s or a %s %s already declared has already been declared in %s %s")
  118. XMLStreamException alreadyDeclared(String name1, String name2, String value, String parentName, String parentValue, @Param Location location);
  119. /**
  120. * Creates an exception indicating the {@code type} with the {@code name} is already registered at the
  121. * {@code location}.
  122. *
  123. * @param type the type.
  124. * @param name the name.
  125. * @param location the location.
  126. *
  127. * @return an {@link IllegalArgumentException} for the error.
  128. */
  129. @Message(id = 14634, value = "An %s named '%s' is already registered at location '%s'")
  130. IllegalArgumentException alreadyRegistered(String type, String name, String location);
  131. /**
  132. * Creates an exception indicating an ambiguous file name was found as there are multiple files ending in the
  133. * {@code suffix} were found in the directory.
  134. *
  135. * @param backupType the backup type.
  136. * @param searchDir the search directory.
  137. * @param suffix the file suffix.
  138. *
  139. * @return an {@link IllegalStateException} for the error.
  140. */
  141. @Message(id = 14635, value = "Ambiguous configuration file name '%s' as there are multiple files in %s that end in %s")
  142. IllegalStateException ambiguousConfigurationFiles(String backupType, File searchDir, String suffix);
  143. /**
  144. * Creates an exception indicating an ambiguous name, represented by the {@code prefix} parameter, was found in
  145. * the directory, represented by the {@code dir} parameter.
  146. *
  147. * @param prefix the file prefix.
  148. * @param dir the search directory.
  149. * @param files the ambiguous files.
  150. *
  151. * @return an {@link IllegalArgumentException} for the error.
  152. */
  153. @Message(id = 14636, value = "Ambiguous name '%s' in %s: %s")
  154. IllegalArgumentException ambiguousName(String prefix, String dir, Collection<String> files);
  155. /**
  156. * Creates an exception indicating a thread was interrupted waiting for a response for asynch operation.
  157. *
  158. * @return a {@link RequestProcessingException} for the error.
  159. */
  160. @Message(id = 14637, value = "Thread was interrupted waiting for a response for asynch operation")
  161. RequestProcessingException asynchOperationThreadInterrupted();
  162. /**
  163. * Creates an exception indicating no asynch request with the batch id, represented by the {@code batchId}
  164. * parameter.
  165. *
  166. * @param batchId the batch id.
  167. *
  168. * @return a {@link RequestProcessingException} for the error.
  169. */
  170. @Message(id = 14638, value = "No asynch request with batch id %d")
  171. RequestProcessingException asynchRequestNotFound(int batchId);
  172. /**
  173. * A message indicating the attribute, represented by the {@code attributeName} parameter, is not writable.
  174. *
  175. * @param attributeName the attribute name.
  176. *
  177. * @return the message.
  178. */
  179. @Message(id = 14639, value = "Attribute %s is not writable")
  180. String attributeNotWritable(String attributeName);
  181. /**
  182. * A message indicating the attribute, represented by the {@code attributeName} parameter, is a registered child of
  183. * the resource.
  184. *
  185. * @param attributeName the name of the attribute.
  186. * @param resource the resource the attribute is a child of.
  187. *
  188. * @return the message.
  189. */
  190. @Message(id = 14640, value = "'%s' is a registered child of resource (%s)")
  191. String attributeRegisteredOnResource(String attributeName, ModelNode resource);
  192. /**
  193. * Creates an exception indicating the inability to determine a default name based on the local host name.
  194. *
  195. * @param cause the cause of the error.
  196. *
  197. * @return a {@link RuntimeException} for the error.
  198. */
  199. @Message(id = 14641, value = "Unable to determine a default name based on the local host name")
  200. RuntimeException cannotDetermineDefaultName(@Cause Throwable cause);
  201. /**
  202. * Creates an exception indicating the file could not be created.
  203. *
  204. * @param path the path to the file.
  205. *
  206. * @return an {@link IllegalStateException} for the error.
  207. */
  208. @Message(id = 14642, value = "Could not create %s")
  209. IllegalStateException cannotCreate(String path);
  210. /**
  211. * Creates an exception indicating the file could not be deleted.
  212. *
  213. * @param file the file to delete.
  214. *
  215. * @return an {@link IllegalStateException} for the error.
  216. */
  217. @Message(id = 14643, value = "Could not delete %s")
  218. IllegalStateException cannotDelete(File file);
  219. /**
  220. * Creates an exception indicating a submodel cannot be registered with a {@code null} path.
  221. *
  222. * @return an {@link IllegalArgumentException} for the error.
  223. */
  224. @Message(id = 14644, value = "Cannot register submodels with a null PathElement")
  225. IllegalArgumentException cannotRegisterSubmodelWithNullPath();
  226. /**
  227. * Creates an exception indicating a non-runtime-only submodel cannot be registered with a runtime-only parent.
  228. *
  229. * @return an {@link IllegalArgumentException} for the error.
  230. */
  231. @Message(id = 14645, value = "Cannot register non-runtime-only submodels with a runtime-only parent")
  232. IllegalArgumentException cannotRegisterSubmodel();
  233. /**
  234. * Creates an exception indicating the inability to remove the {@code name}.
  235. *
  236. * @param name the name.
  237. *
  238. * @return an {@link OperationFailedRuntimeException} for the error.
  239. */
  240. @Message(id = 14646, value = "Cannot remove %s")
  241. OperationFailedRuntimeException cannotRemove(String name);
  242. /**
  243. * Creates an exception indicating the file could not be renamed.
  244. *
  245. * @param fromPath the from file.
  246. * @param toPath the to file.
  247. *
  248. * @return an {@link IllegalStateException} for the error.
  249. */
  250. @Message(id = 14647, value = "Could not rename %s to %s")
  251. IllegalStateException cannotRename(String fromPath, String toPath);
  252. /**
  253. * Creates an exception indicating the inability to write the {@code name}.
  254. *
  255. * @param name the name.
  256. *
  257. * @return an {@link IllegalArgumentException} for the error.
  258. */
  259. @Message(id = 14648, value = "Cannot write to %s")
  260. IllegalArgumentException cannotWriteTo(String name);
  261. /**
  262. * Creates an exception indicating a child, represented by the {@code childName} parameter, of the parent element,
  263. * represented by the {@code parentName} parameter, has already been declared.
  264. *
  265. * @param childName the child element name.
  266. * @param parentName the parent element name.
  267. * @param location the location of the error.
  268. *
  269. * @return a {@link XMLStreamException} for the error.
  270. */
  271. @Message(id = 14649, value = "Child %s of element %s already declared")
  272. XMLStreamException childAlreadyDeclared(String childName, String parentName, @Param Location location);
  273. /**
  274. * Creates an exception indicating the canonical file for the boot file could not be found.
  275. *
  276. * @param cause the cause of the error.
  277. * @param file the boot file.
  278. *
  279. * @return an {@link RuntimeException} for the error.
  280. */
  281. @Message(id = 14650, value = "Could not get canonical file for boot file: %s")
  282. RuntimeException canonicalBootFileNotFound(@Cause Throwable cause, File file);
  283. /**
  284. * Creates an exception indicating the canonical file for the main file could not be found.
  285. *
  286. * @param cause the cause of the error.
  287. * @param file the main file.
  288. *
  289. * @return an {@link IllegalStateException} for the error.
  290. */
  291. @Message(id = 14651, value = "Could not get canonical file for main file: %s")
  292. IllegalStateException canonicalMainFileNotFound(@Cause Throwable cause, File file);
  293. /**
  294. * A message indicating the channel is closed.
  295. *
  296. * @return the message.
  297. */
  298. @Message(id = 14652, value = "Channel closed")
  299. String channelClosed();
  300. /**
  301. * A message indicating the composite operation failed and was rolled back.
  302. *
  303. * @return the message.
  304. */
  305. @Message(id = 14653, value = "Composite operation failed and was rolled back. Steps that failed:")
  306. String compositeOperationFailed();
  307. /**
  308. * A message indicating the composite operation was rolled back.
  309. *
  310. * @return the message.
  311. */
  312. @Message(id = 14654, value = "Composite operation was rolled back")
  313. String compositeOperationRolledBack();
  314. /**
  315. * Creates an exception indicating a configuration file whose complete name is the same as the {@code backupType} is
  316. * not allowed.
  317. *
  318. * @param backupType the backup type.
  319. *
  320. * @return an {@link IllegalArgumentException} for the error.
  321. */
  322. @Message(id = 14655, value = "Configuration files whose complete name is %s are not allowed")
  323. IllegalArgumentException configurationFileNameNotAllowed(String backupType);
  324. /**
  325. * Creates an exception indicating no configuration file ending in the {@code suffix} was found in the directory,
  326. * represented by the {@code dir} parameter.
  327. *
  328. * @param suffix the suffix.
  329. * @param dir the search directory.
  330. *
  331. * @return an {@link IllegalStateException} for the error.
  332. */
  333. @Message(id = 14656, value = "No configuration file ending in %s found in %s")
  334. IllegalStateException configurationFileNotFound(String suffix, File dir);
  335. /**
  336. * Creates an exception indicating the directory. represented by the {@code pathName} parameter, was not found.
  337. *
  338. * @param pathName the path name.
  339. *
  340. * @return an {@link IllegalArgumentException} for the error.
  341. */
  342. @Message(id = 14657, value = "No directory %s was found")
  343. IllegalArgumentException directoryNotFound(String pathName);
  344. /**
  345. * Creates an exception indicating either the {@code remoteName} or the {@code localName} domain controller
  346. * configuration must be declared.
  347. *
  348. * @param remoteName the remote element name.
  349. * @param localName the local element name.
  350. * @param location the location of the error.
  351. *
  352. * @return a {@link XMLStreamException} for the error.
  353. */
  354. @Message(id = 14658, value = "Either a %s or %s domain controller configuration must be declared.")
  355. XMLStreamException domainControllerMustBeDeclared(String remoteName, String localName, @Param Location location);
  356. /**
  357. * Creates an exception indicating an attribute, represented by the {@code name} parameter, has already been
  358. * declared.
  359. *
  360. * @param name the attribute name.
  361. * @param location the location of the error.
  362. *
  363. * @return a {@link XMLStreamException} for the error.
  364. */
  365. @Message(id = 14659, value = "An attribute named '%s' has already been declared")
  366. XMLStreamException duplicateAttribute(String name, @Param Location location);
  367. /**
  368. * Creates an exception indicating a duplicate declaration.
  369. *
  370. * @param name the name of the duplicate entry.
  371. * @param location the location of the error.
  372. *
  373. * @return a {@link XMLStreamException} for the error.
  374. */
  375. @Message(id = 14660, value = "Duplicate %s declaration")
  376. XMLStreamException duplicateDeclaration(String name, @Param Location location);
  377. /**
  378. * Creates an exception indicating a duplicate declaration.
  379. *
  380. * @param name the name of the duplicate entry.
  381. * @param value the duplicate entry.
  382. * @param location the location of the error.
  383. *
  384. * @return a {@link XMLStreamException} for the error.
  385. */
  386. @Message(id = 14661, value = "Duplicate %s declaration %s")
  387. XMLStreamException duplicateDeclaration(String name, String value, @Param Location location);
  388. /**
  389. * Creates an exception indicating ad duplicate path element, represented by the {@code name} parameter, was found.
  390. *
  391. * @param name the name of the duplicate entry.
  392. *
  393. * @return an {@link OperationFailedRuntimeException} for the error.
  394. */
  395. @Message(id = 14662, value = "Duplicate path element '%s' found")
  396. OperationFailedRuntimeException duplicateElement(String name);
  397. /**
  398. * Creates an exception indicating a duplicate interface declaration.
  399. *
  400. * @param location the location of the error.
  401. *
  402. * @return a {@link XMLStreamException} for the error.
  403. */
  404. @Message(id = 14663, value = "Duplicate interface declaration")
  405. XMLStreamException duplicateInterfaceDeclaration(@Param Location location);
  406. /**
  407. * Creates an exception indicating an element, represented by the {@code name} parameter, has already been
  408. * declared.
  409. *
  410. * @param name the element name.
  411. * @param location the location of the error.
  412. *
  413. * @return a {@link XMLStreamException} for the error.
  414. */
  415. @Message(id = 14664, value = "An element of this type named '%s' has already been declared")
  416. XMLStreamException duplicateNamedElement(String name, @Param Location location);
  417. /**
  418. * Creates an exception indicating a duplicate profile was included.
  419. *
  420. * @param location the location of the error.
  421. *
  422. * @return a {@link XMLStreamException} for the error.
  423. */
  424. @Message(id = 14665, value = "Duplicate profile included")
  425. XMLStreamException duplicateProfile(@Param Location location);
  426. /**
  427. * Creates an exception indicating the resource is a duplicate.
  428. *
  429. * @param name the name of the resource.
  430. *
  431. * @return an {@link IllegalStateException} for the error.
  432. */
  433. @Message(id = 14666, value = "Duplicate resource %s")
  434. IllegalStateException duplicateResource(String name);
  435. /**
  436. * Creates an exception indicating the resource type is a duplicate.
  437. *
  438. * @param type the duplicate type.
  439. *
  440. * @return an {@link IllegalStateException} for the error.
  441. */
  442. @Message(id = 14667, value = "Duplicate resource type %s")
  443. IllegalStateException duplicateResourceType(String type);
  444. /**
  445. * A message indicating the element, represented by the {@code name} parameter, is not supported the file,
  446. * represented by the {@code file} parameter.
  447. *
  448. * @param name the name of the element.
  449. * @param fileName the file name.
  450. *
  451. * @return the message.
  452. */
  453. @Message(id = 14668, value = "Element %s is not supported in a %s file")
  454. String elementNotSupported(String name, String fileName);
  455. /**
  456. * A message indicating an error waiting for Tx commit/rollback.
  457. *
  458. * @return the message.
  459. */
  460. @Message(id = 14669, value = "Error waiting for Tx commit/rollback")
  461. String errorWaitingForTransaction();
  462. /**
  463. * Creates an exception indicating a failure to initialize the module.
  464. *
  465. * @param cause the cause of the error.
  466. * @param name the name of the module.
  467. *
  468. * @return a {@link RuntimeException} for the error.
  469. */
  470. @Message(id = 14670, value = "Failed initializing module %s")
  471. RuntimeException failedInitializingModule(@Cause Throwable cause, String name);
  472. /**
  473. * A message indicating the failed services.
  474. *
  475. * @return the message.
  476. */
  477. @Message(id = 14671, value = "Failed services")
  478. String failedServices();
  479. /**
  480. * Creates an exception indicating a failure to backup the file, represented by the {@code file} parameter.
  481. *
  482. * @param cause the cause of the error.
  483. * @param file the file that failed to backup.
  484. *
  485. * @return a {@link ConfigurationPersistenceException} for the error.
  486. */
  487. @Message(id = 14672, value = "Failed to back up %s")
  488. ConfigurationPersistenceException failedToBackup(@Cause Throwable cause, File file);
  489. /**
  490. * Creates an exception indicating a failure to create backup copies of configuration the file, represented by the
  491. * {@code file} parameter.
  492. *
  493. * @param cause the cause of the error.
  494. * @param file the configuration file that failed to backup.
  495. *
  496. * @return a {@link ConfigurationPersistenceException} for the error.
  497. */
  498. @Message(id = 14673, value = "Failed to create backup copies of configuration file %s")
  499. ConfigurationPersistenceException failedToCreateConfigurationBackup(@Cause Throwable cause, File file);
  500. /**
  501. * Creates an exception indicating a failure to load a module.
  502. *
  503. * @param cause the cause of the error.
  504. *
  505. * @return a {@link XMLStreamException} for the error.
  506. */
  507. @Message(id = 14674, value = "Failed to load module")
  508. XMLStreamException failedToLoadModule(@Cause Throwable cause);
  509. /**
  510. * Creates an exception indicating a failure to load a module.
  511. *
  512. * @param cause the cause of the error.
  513. * @param name the module name.
  514. *
  515. * @return a {@link XMLStreamException} for the error.
  516. */
  517. @Message(id = Message.INHERIT, value = "Failed to load module %s")
  518. XMLStreamException failedToLoadModule(@Cause Throwable cause, String name);
  519. /**
  520. * Creates an exception indicating a failure to marshal the configuration.
  521. *
  522. * @param cause the cause of the error.
  523. *
  524. * @return a {@link ConfigurationPersistenceException} for the error.
  525. */
  526. @Message(id = 14675, value = "Failed to marshal configuration")
  527. ConfigurationPersistenceException failedToMarshalConfiguration(@Cause Throwable cause);
  528. /**
  529. * Creates an exception indicating a failure to parse the configuration.
  530. *
  531. * @param cause the cause of the error.
  532. *
  533. * @return a {@link ConfigurationPersistenceException} for the error.
  534. */
  535. @Message(id = 14676, value = "Failed to parse configuration")
  536. ConfigurationPersistenceException failedToParseConfiguration(@Cause Throwable cause);
  537. /**
  538. * Logs an error message indicating a failure to persist configuration change.
  539. *
  540. * @param cause the cause of the error.
  541. *
  542. * @return the message.
  543. */
  544. @Message(id = 14677, value = "Failed to persist configuration change: %s")
  545. String failedToPersistConfigurationChange(String cause);
  546. /**
  547. * Creates an exception indicating a failure to store the configuration.
  548. *
  549. * @param cause the cause of the error.
  550. *
  551. * @return a {@link ConfigurationPersistenceException} for the error.
  552. */
  553. @Message(id = 14678, value = "Failed to store configuration")
  554. ConfigurationPersistenceException failedToStoreConfiguration(@Cause Throwable cause);
  555. /**
  556. * Creates an exception indicating a failure to take a snapshot of the file, represented by the {@code file}
  557. * parameter.
  558. *
  559. * @param cause the cause of the error.
  560. * @param file the file that failed to take the snapshot of.
  561. * @param snapshot the snapshot file.
  562. *
  563. * @return a {@link ConfigurationPersistenceException} for the error.
  564. */
  565. @Message(id = 14679, value = "Failed to take a snapshot of %s to %s")
  566. ConfigurationPersistenceException failedToTakeSnapshot(@Cause Throwable cause, File file, File snapshot);
  567. /**
  568. * Creates an exception indicating a failure to write the configuration.
  569. *
  570. * @param cause the cause of the error.
  571. *
  572. * @return a {@link ConfigurationPersistenceException} for the error.
  573. */
  574. @Message(id = 14680, value = "Failed to write configuration")
  575. ConfigurationPersistenceException failedToWriteConfiguration(@Cause Throwable cause);
  576. /**
  577. * Creates an exception indicating {@code path1} does not exist.
  578. *
  579. * @param path1 the first non-existing path.
  580. *
  581. * @return an {@link IllegalArgumentException} for the error.
  582. */
  583. @Message(id = 14681, value = "%s does not exist")
  584. IllegalArgumentException fileNotFound(String path1);
  585. /**
  586. * Creates an exception indicating no files beginning with the {@code prefix} were found in the directory,
  587. * represented by the {@code dir} parameter.
  588. *
  589. * @param prefix the file prefix.
  590. * @param dir the search directory.
  591. *
  592. * @return an {@link IllegalArgumentException} for the error.
  593. */
  594. @Message(id = 14682, value = "No files beginning with '%s' found in %s")
  595. IllegalArgumentException fileNotFoundWithPrefix(String prefix, String dir);
  596. /**
  597. * Creates an exception indicating the {@code clazz} cannot be used except in a full server boot.
  598. *
  599. * @param clazz the class that cannot be used.
  600. *
  601. * @return an {@link IllegalStateException} for the error.
  602. */
  603. @Message(id = 14683, value = "%s cannot be used except in a full server boot")
  604. IllegalStateException fullServerBootRequired(Class<?> clazz);
  605. /**
  606. * A message indicating that no included group with the name, represented by the {@code name} parameter, was found.
  607. *
  608. * @param name the name of the group.
  609. *
  610. * @return the message.
  611. */
  612. @Message(id = 14684, value = "No included group with name %s found")
  613. String groupNotFound(String name);
  614. /**
  615. * A message indicating the interface criteria must be of the type represented by the {@code valueType} parameter.
  616. *
  617. * @param invalidType the invalid type.
  618. * @param validType the valid type.
  619. *
  620. * @return the message.
  621. */
  622. @Message(id = 14685, value = "Illegal interface criteria type %s; must be %s")
  623. String illegalInterfaceCriteria(ModelType invalidType, ModelType validType);
  624. /**
  625. * A message indicating the value, represented by the {@code valueType} parameter, is invalid for the interface
  626. * criteria, represented by the {@code id} parameter.
  627. *
  628. * @param valueType the type of the invalid value.
  629. * @param id the id of the criteria interface.
  630. * @param validType the valid type.
  631. *
  632. * @return the message.
  633. */
  634. @Message(id = 14686, value = "Illegal value %s for interface criteria %s; must be %s")
  635. String illegalValueForInterfaceCriteria(ModelType valueType, String id, ModelType validType);
  636. /**
  637. * Creates an exception indicating the resource is immutable.
  638. *
  639. * @return an {@link UnsupportedOperationException} for the error.
  640. */
  641. @Message(id = 14687, value = "Resource is immutable")
  642. UnsupportedOperationException immutableResource();
  643. /**
  644. * An exception indicating the type is invalid.
  645. *
  646. * @param name the name the invalid type was found for.
  647. * @param validTypes a collection of valid types.
  648. * @param invalidType the invalid type.
  649. *
  650. * @return the exception.
  651. */
  652. @Message(id = 14688, value = "Wrong type for %s. Expected %s but was %s")
  653. OperationFailedException incorrectType(String name, Collection<ModelType> validTypes, ModelType invalidType);
  654. /**
  655. * A message indicating interrupted while waiting for request.
  656. *
  657. * @return the message.
  658. */
  659. @Message(id = 14689, value = "Interrupted while waiting for request")
  660. String interruptedWaitingForRequest();
  661. /**
  662. * A message indicating the {@code name} is invalid.
  663. *
  664. * @param name the name of the invalid attribute.
  665. *
  666. * @return the message.
  667. */
  668. @Message(id = 14690, value = "%s is invalid")
  669. String invalid(String name);
  670. /**
  671. * A message indicating the {@code value} is invalid.
  672. *
  673. * @param cause the cause of the error.
  674. * @param value the invalid value.
  675. * @param name the name of the invalid attribute.
  676. * @param location the location of the error.
  677. *
  678. * @return a {@link XMLStreamException} for the error.
  679. */
  680. @Message(id = 14691, value = "%d is not a valid %s")
  681. XMLStreamException invalid(@Cause Throwable cause, int value, String name, @Param Location location);
  682. /**
  683. * A message indicating the address, represented by the {@code address} parameter, is invalid.
  684. *
  685. * @param address the invalid address.
  686. * @param msg the error message.
  687. *
  688. * @return the message.
  689. */
  690. @Message(id = 14692, value = "Invalid address %s (%s)")
  691. String invalidAddress(String address, String msg);
  692. /**
  693. * A message indicating the value, represented by the {@code value} parameter, is invalid and must be of the form
  694. * address/mask.
  695. *
  696. * @param value the invalid value.
  697. *
  698. * @return the message.
  699. */
  700. @Message(id = 14693, value = "Invalid 'value' %s -- must be of the form address/mask")
  701. String invalidAddressMaskValue(String value);
  702. /**
  703. * A message indicating the mask, represented by the {@code mask} parameter, is invalid.
  704. *
  705. * @param mask the invalid mask.
  706. * @param msg the error message.
  707. *
  708. * @return the message.
  709. */
  710. @Message(id = 14694, value = "Invalid mask %s (%s)")
  711. String invalidAddressMask(String mask, String msg);
  712. /**
  713. * A message indicating the address value, represented by the {@code value} parameter, is invalid.
  714. *
  715. * @param value the invalid address value.
  716. * @param msg the error message.
  717. *
  718. * @return the message.
  719. */
  720. @Message(id = 14695, value = "Invalid address %s (%s)")
  721. String invalidAddressValue(String value, String msg);
  722. /**
  723. * A message indicating the attribute, represented by the {@code attributeName} parameter, is invalid in
  724. * combination with the {@code combos} parameter.
  725. *
  726. * @param attributeName the attribute name.
  727. * @param combos the combinations.
  728. *
  729. * @return the message.
  730. */
  731. @Message(id = 14696, value = "%s is invalid in combination with %s")
  732. String invalidAttributeCombo(String attributeName, StringBuilder combos);
  733. /**
  734. * Creates an exception indicating an invalid value, represented by the {@code value} parameter, was found for the
  735. * attribute, represented by the {@code name} parameter.
  736. *
  737. * @param value the invalid value.
  738. * @param name the attribute name.
  739. * @param location the location of the error.
  740. *
  741. * @return a {@link XMLStreamException} for the error.
  742. */
  743. @Message(id = 14697, value = "Invalid value '%s' for attribute '%s'")
  744. XMLStreamException invalidAttributeValue(String value, QName name, @Param Location location);
  745. /**
  746. * Creates an exception indicating an invalid value, represented by the {@code value} parameter, was found for the
  747. * attribute, represented by the {@code name} parameter. The value must be between the {@code minInclusive} and
  748. * {@code maxInclusive} values.
  749. *
  750. * @param value the invalid value.
  751. * @param name the attribute name.
  752. * @param minInclusive the minimum value allowed.
  753. * @param maxInclusive the maximum value allowed.
  754. * @param location the location of the error.
  755. *
  756. * @return a {@link XMLStreamException} for the error.
  757. */
  758. @Message(id = 14698, value = "Illegal value %d for attribute '%s' must be between %d and %d (inclusive)")
  759. XMLStreamException invalidAttributeValue(int value, QName name, int minInclusive, int maxInclusive, @Param Location location);
  760. /**
  761. * Creates an exception indicating an invalid integer value, represented by the {@code value} parameter, was found
  762. * for the attribute, represented by the {@code name} parameter.
  763. *
  764. * @param cause the cause of the error.
  765. * @param value the invalid value.
  766. * @param name the attribute name.
  767. * @param location the location of the error.
  768. *
  769. * @return a {@link XMLStreamException} for the error.
  770. */
  771. @Message(id = 14699, value = "Illegal value '%s' for attribute '%s' must be an integer")
  772. XMLStreamException invalidAttributeValueInt(@Cause Throwable cause, String value, QName name, @Param Location location);
  773. /**
  774. * A message indicating the pattern, represented by the {@code pattern} parameter, for the interface criteria,
  775. * represented by the {@code name} parameter, is invalid.
  776. *
  777. * @param pattern the pattern.
  778. * @param name the interface criteria.
  779. *
  780. * @return the message.
  781. */
  782. @Message(id = 14700, value = "Invalid pattern %s for interface criteria %s")
  783. String invalidInterfaceCriteriaPattern(String pattern, String name);
  784. /**
  785. * Creates an exception indicating the {@code key} is invalid.
  786. *
  787. * @param element the path element
  788. * @param key the invalid value.
  789. *
  790. * @return an {@link OperationFailedRuntimeException} for the error.
  791. */
  792. @Message(id = 14701, value = "Invalid resource address element '%s'. The key '%s' is not valid for an element in a resource address.")
  793. String invalidPathElementKey(String element, String key);
  794. /**
  795. * Creates an exception indicating the load factor must be greater than 0 and less than or equal to 1.
  796. *
  797. * @return an {@link IllegalArgumentException} for the error.
  798. */
  799. @Message(id = 14702, value = "Load factor must be greater than 0 and less than or equal to 1")
  800. IllegalArgumentException invalidLoadFactor();
  801. /**
  802. * A message indicating the {@code value} parameter is invalid and must have a maximum length, represented by the
  803. * {@code length} parameter.
  804. *
  805. * @param value the invalid value.
  806. * @param name the name of the parameter.
  807. * @param length the maximum length.
  808. *
  809. * @return the message.
  810. */
  811. @Message(id = 14703, value = "'%s' is an invalid value for parameter %s. Values must have a maximum length of %d characters")
  812. String invalidMaxLength(String value, String name, int length);
  813. /**
  814. * A message indicating the {@code value} parameter is invalid and must have a minimum length, represented by the
  815. * {@code length} parameter.
  816. *
  817. * @param value the invalid value.
  818. * @param name the name of the parameter.
  819. * @param length the minimum length.
  820. *
  821. * @return the message.
  822. */
  823. @Message(id = 14704, value = "'%s' is an invalid value for parameter %s. Values must have a minimum length of %d characters")
  824. String invalidMinLength(String value, String name, int length);
  825. /**
  826. * A message indicating the {@code size} is an invalid size for the parameter, represented by the {@code name}
  827. * parameter.
  828. *
  829. * @param size the invalid size.
  830. * @param name the name of the parameter.
  831. * @param maxSize the maximum size allowed.
  832. *
  833. * @return the message
  834. */
  835. @Message(id = 14705, value = "[%d] is an invalid size for parameter %s. A maximum length of [%d] is required")
  836. String invalidMaxSize(int size, String name, int maxSize);
  837. /**
  838. * A message indicating the {@code size} is an invalid size for the parameter, represented by the {@code name}
  839. * parameter.
  840. *
  841. * @param size the invalid size.
  842. * @param name the name of the parameter.
  843. * @param minSize the minimum size allowed.
  844. *
  845. * @return the message
  846. */
  847. @Message(id = 14706, value = "[%d] is an invalid size for parameter %s. A minimum length of [%d] is required")
  848. String invalidMinSize(int size, String name, int minSize);
  849. /**
  850. * A message indicating the {@code value} is invalid for the parameter, represented by the {@code name} parameter.
  851. *
  852. * @param value the invalid value.
  853. * @param name the name of the parameter.
  854. * @param maxValue the minimum value required.
  855. *
  856. * @return the message.
  857. */
  858. @Message(id = 14707, value = "%d is an invalid value for parameter %s. A maximum value of %d is required")
  859. String invalidMaxValue(int value, String name, int maxValue);
  860. /**
  861. * A message indicating the {@code value} is invalid for the parameter, represented by the {@code name} parameter.
  862. *
  863. * @param value the invalid value.
  864. * @param name the name of the parameter.
  865. * @param maxValue the minimum value required.
  866. *
  867. * @return the message.
  868. */
  869. String invalidMaxValue(long value, String name, long maxValue);
  870. /**
  871. * A message indicating the {@code value} is invalid for the parameter, represented by the {@code name} parameter.
  872. *
  873. * @param value the invalid value.
  874. * @param name the name of the parameter.
  875. * @param minValue the minimum value required.
  876. *
  877. * @return the message.
  878. */
  879. @Message(id = 14708, value = "%d is an invalid value for parameter %s. A minimum value of %d is required")
  880. String invalidMinValue(int value, String name, int minValue);
  881. /**
  882. * A message indicating the {@code value} is invalid for the parameter, represented by the {@code name} parameter.
  883. *
  884. * @param value the invalid value.
  885. * @param name the name of the parameter.
  886. * @param minValue the minimum value required.
  887. *
  888. * @return the message.
  889. */
  890. String invalidMinValue(long value, String name, long minValue);
  891. /**
  892. * Creates an exception indicated an invalid modification after completed ste.
  893. *
  894. * @return an {@link IllegalStateException} for the error.
  895. */
  896. @Message(id = 14709, value = "Invalid modification after completed step")
  897. IllegalStateException invalidModificationAfterCompletedStep();
  898. /**
  899. * Creates an exception indicating the {@code value} for the attribute, represented by the {@code name} parameter,
  900. * is not a valid multicast address.
  901. *
  902. * @param value the invalid value.
  903. * @param name the name of the attribute.\
  904. *
  905. * @return a {@link XMLStreamException} for the error.
  906. */
  907. @Message(id = 14710, value = "Value %s for attribute %s is not a valid multicast address")
  908. OperationFailedException invalidMulticastAddress(String value, String name);
  909. /**
  910. * Creates an exception indicating an outbound socket binding cannot have both the {@code localTag} and the
  911. * {@code remoteTag}.
  912. *
  913. * @param name the name of the socket binding.
  914. * @param localTag the local tag.
  915. * @param remoteTag the remote tag.
  916. * @param location the location of the error.
  917. *
  918. * @return a {@link XMLStreamException} for the error.
  919. */
  920. @Message(id = 14711, value = "An outbound socket binding: %s cannot have both %s as well as a %s at the same time")
  921. XMLStreamException invalidOutboundSocketBinding(String name, String localTag, String remoteTag, @Param Location location);
  922. /**
  923. * Creates an exception indicating the {@code flag} is invalid.
  924. *
  925. * @param flag the invalid flag.
  926. * @param name the name of the parameter.
  927. * @param validFlags a collection of valid flags.
  928. *
  929. * @return an {@link IllegalArgumentException} for the error.
  930. */
  931. @Message(id = 14712, value = "%s is not a valid value for parameter %s -- must be one of %s")
  932. IllegalArgumentException invalidParameterValue(Flag flag, String name, Collection<Flag> validFlags);
  933. /**
  934. * Creates an exception indicating the {@code value} for the attribute, represented by the {@code name} parameter,
  935. * does not represent a properly hex-encoded SHA1 hash.
  936. *
  937. * @param cause the cause of the error.
  938. * @param value the invalid value.
  939. * @param name the name of the attribute.
  940. * @param location the location of the error.
  941. *
  942. * @return a {@link XMLStreamException} for the error.
  943. */
  944. @Message(id = 14713, value = "Value %s for attribute %s does not represent a properly hex-encoded SHA1 hash")
  945. XMLStreamException invalidSha1Value(@Cause Throwable cause, String value, String name, @Param Location location);
  946. /**
  947. * Creates an exception indicating the stage is not valid for the context process type.
  948. *
  949. * @param stage the stage.
  950. * @param processType the context process type.
  951. *
  952. * @return an {@link IllegalStateException} for the error.
  953. */
  954. @Message(id = 14714, value = "Stage %s is not valid for context process type %s")
  955. IllegalStateException invalidStage(OperationContext.Stage stage, ProcessType processType);
  956. /**
  957. * Creates an exception indicating an invalid step stage specified.
  958. *
  959. * @return an {@link IllegalArgumentException} for the error.
  960. */
  961. @Message(id = 14715, value = "Invalid step stage specified")
  962. IllegalArgumentException invalidStepStage();
  963. /**
  964. * Creates an exception indicating an invalid step stage for this context type.
  965. *
  966. * @return an {@link IllegalArgumentException} for the error.
  967. */
  968. @Message(id = 14716, value = "Invalid step stage for this context type")
  969. IllegalArgumentException invalidStepStageForContext();
  970. /**
  971. * Creates an exception indicating the table cannot have a negative size.
  972. *
  973. * @return an {@link IllegalArgumentException} for the error.
  974. */
  975. @Message(id = 14717, value = "Can not have a negative size table!")
  976. IllegalArgumentException invalidTableSize();
  977. /**
  978. * A message indicating the type, represented by the {@code type} parameter, is invalid.
  979. *
  980. * @param type the invalid type.
  981. *
  982. * @return the message.
  983. */
  984. @Message(id = 14718, value = "Invalid type %s")
  985. String invalidType(ModelType type);
  986. /**
  987. * Creates an exception indicating the {@code value} is invalid.
  988. *
  989. * @param element the path element
  990. * @param value the invalid value.
  991. * @param character the invalid character
  992. *
  993. * @return an {@link OperationFailedRuntimeException} for the error.
  994. */
  995. @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.")
  996. String invalidPathElementValue(String element, String value, Character character);
  997. /**
  998. * A message indicating the {@code value} for the parameter, represented by the {@code name} parameter, is invalid.
  999. *
  1000. * @param value the invalid value.
  1001. * @param name the name of the parameter.
  1002. * @param validValues a collection of valid values.
  1003. *
  1004. * @return the message.
  1005. */
  1006. @Message(id = 14720, value = "Invalid value %s for %s; legal values are %s")
  1007. String invalidValue(String value, String name, Collection<?> validValues);
  1008. /**
  1009. * Creates an exception indicating the {@code value} for the {@code name} must be greater than the minimum value,
  1010. * represented by the {@code minValue} parameter.
  1011. *
  1012. * @param name the name for the value that cannot be negative.
  1013. * @param value the invalid value.
  1014. * @param minValue the minimum value.
  1015. * @param location the location of the error.
  1016. *
  1017. * @return a {@link XMLStreamException} for the error.
  1018. */
  1019. @Message(id = 14721, value = "Illegal '%s' value %s -- must be greater than %s")
  1020. XMLStreamException invalidValueGreaterThan(String name, int value, int minValue, @Param Location location);
  1021. /**
  1022. * Creates an exception indicating the {@code value} for the {@code name} cannot be negative.
  1023. *
  1024. * @param name the name for the value that cannot be negative.
  1025. * @param value the invalid value.
  1026. * @param location the location of the error.
  1027. *
  1028. * @return a {@link XMLStreamException} for the error.
  1029. */
  1030. @Message(id = 14722, value = "Illegal '%s' value %s -- cannot be negative")
  1031. XMLStreamException invalidValueNegative(String name, int value, @Param Location location);
  1032. /**
  1033. * Creates an exception indicating there must be one of the elements, represented by the {@code sb} parameter,
  1034. * included.
  1035. *
  1036. * @param sb the acceptable elements.
  1037. * @param location the location of the error.
  1038. *
  1039. * @return a {@link XMLStreamException} for the error.
  1040. */
  1041. @Message(id = 14723, value = "Must include one of the following elements: %s")
  1042. XMLStreamException missingOneOf(StringBuilder sb, @Param Location location);
  1043. /**
  1044. * Creates an exception indicating there are missing required attribute(s).
  1045. *
  1046. * @param sb the missing attributes.
  1047. * @param location the location of the error.
  1048. *
  1049. * @return a {@link XMLStreamException} for the error.
  1050. */
  1051. @Message(id = 14724, value = "Missing required attribute(s): %s")
  1052. XMLStreamException missingRequiredAttributes(StringBuilder sb, @Param Location location);
  1053. /**
  1054. * Creates an exception indicating there are missing required element(s).
  1055. *
  1056. * @param sb the missing element.
  1057. * @param location the location of the error.
  1058. *
  1059. * @return a {@link XMLStreamException} for the error.
  1060. */
  1061. @Message(id = 14725, value = "Missing required element(s): %s")
  1062. XMLStreamException missingRequiredElements(StringBuilder sb, @Param Location location);
  1063. /**
  1064. * Creates an exception indicating an interruption awaiting to load the module.
  1065. *
  1066. * @param name the name of the module.
  1067. *
  1068. * @return a {@link XMLStreamException} for the error.
  1069. */
  1070. @Message(id = 14726, value = "Interrupted awaiting loading of module %s")
  1071. XMLStreamException moduleLoadingInterrupted(String name);
  1072. /**
  1073. * Creates an exception indicating an interruption awaiting to initialize the module.
  1074. *
  1075. * @param name the name of the module.
  1076. *
  1077. * @return a {@link RuntimeException} for the error.
  1078. */
  1079. @Message(id = 14727, value = "Interrupted awaiting initialization of module %s")
  1080. RuntimeException moduleInitializationInterrupted(String name);
  1081. /**
  1082. * Creates an exception indicating a model contains multiple nodes.
  1083. *
  1084. * @param name the name of the node.
  1085. *
  1086. * @return an {@link IllegalStateException} for the error.
  1087. */
  1088. @Message(id = 14728, value = "Model contains multiple %s nodes")
  1089. IllegalStateException multipleModelNodes(String name);
  1090. /**
  1091. * A message indicating a namespace with the prefix, represented by the {@code prefix} parameter, is already
  1092. * registered with the schema URI, represented by the {@code uri} parameter.
  1093. *
  1094. * @param prefix the namespace prefix.
  1095. * @param uri the schema URI.
  1096. *
  1097. * @return the message.
  1098. */
  1099. @Message(id = 14729, value = "Namespace with prefix %s already registered with schema URI %s")
  1100. String namespaceAlreadyRegistered(String prefix, String uri);
  1101. /**
  1102. * A message indicating no namespace with the URI {@code prefix}, was found.
  1103. *
  1104. * @param prefix the prefix.
  1105. *
  1106. * @return the message.
  1107. */
  1108. @Message(id = 14730, value = "No namespace with URI %s found")
  1109. String namespaceNotFound(String prefix);
  1110. /**
  1111. * A message indicating the element, represented by the {@code element} parameter, does not allow nesting.
  1112. *
  1113. * @param element the element.
  1114. *
  1115. * @return the message.
  1116. */
  1117. @Message(id = 14731, value = "Nested %s not allowed")
  1118. String nestedElementNotAllowed(Element element);
  1119. /**
  1120. * Creates an exception indicating no active request was found for handling the report represented by the {@code id}
  1121. * parameter.
  1122. *
  1123. * @param id the batch id.
  1124. *
  1125. * @return a {@link RequestProcessingException} for the error.
  1126. */
  1127. @Message(id = 14732, value = "No active request found for handling report %d")
  1128. RequestProcessingException noActiveRequestForHandlingReport(int id);
  1129. /**
  1130. * Creates an exception indicating no active request was found for proxy control represented by the {@code id}
  1131. * parameter.
  1132. *
  1133. * @param id the batch id.
  1134. *
  1135. * @return a {@link RequestProcessingException} for the error.
  1136. */
  1137. @Message(id = 14733, value = "No active request found for proxy operation control %d")
  1138. RequestProcessingException noActiveRequestForProxyOperation(int id);
  1139. /**
  1140. * Creates an exception indicating no active request was found for reading the inputstream report represented by
  1141. * the {@code id} parameter.
  1142. *
  1143. * @param id the batch id.
  1144. *
  1145. * @return a {@link IOException} for the error.
  1146. */
  1147. @Message(id = 14734, value = "No active request found for reading inputstream report %d")
  1148. IOException noActiveRequestForReadingInputStreamReport(int id);
  1149. /**
  1150. * Creates an exception indicating there is no active step.
  1151. *
  1152. * @return an {@link IllegalStateException} for the error.
  1153. */
  1154. @Message(id = 14735, value = "No active step")
  1155. IllegalStateException noActiveStep();
  1156. /**
  1157. * Creates an exception indicating no active transaction found for the {@code id}.
  1158. *
  1159. * @param id the id.
  1160. *
  1161. * @return a {@link RequestProcessingException} for the error.
  1162. */
  1163. @Message(id = 14736, value = "No active tx found for id %d")
  1164. RuntimeException noActiveTransaction(int id);
  1165. /**
  1166. * A message indicating there is no child registry for the child, represented by the {@code childType} and
  1167. * {@code child} parameters.
  1168. *
  1169. * @param childType the child type.
  1170. * @param child the child.
  1171. *
  1172. * @return the message.
  1173. */
  1174. @Message(id = 14737, value = "No child registry for (%s, %s)")
  1175. String noChildRegistry(String childType, String child);
  1176. /**
  1177. * Creates an exception indicating no child type for the {@code name}.
  1178. *
  1179. * @param name the name.
  1180. *
  1181. * @return an {@link OperationFailedRuntimeException} for the error.
  1182. */
  1183. @Message(id = 14738, value = "No child type %s")
  1184. OperationFailedRuntimeException noChildType(String name);
  1185. /**
  1186. * A message indicating no handler for the step operation, represented by the {@code stepOpName} parameter, at
  1187. * {@code address}.
  1188. *
  1189. * @param stepOpName the step operation name.
  1190. * @param address the address.
  1191. *
  1192. * @return the message
  1193. *
  1194. * @deprecated use {@link #noSuchResourceType(PathAddress)} or {@link #noHandlerForOperation(String, PathAddress)}
  1195. */
  1196. @Deprecated
  1197. @Message(id = 14739, value = "No handler for %s at address %s")
  1198. String noHandler(String stepOpName, PathAddress address);
  1199. /**
  1200. * A message indicating that no interface criteria was provided.
  1201. *
  1202. * @return the message.
  1203. */
  1204. @Message(id = 14740, value = "No interface criteria was provided")
  1205. String noInterfaceCriteria();
  1206. /**
  1207. * A message indicating there is no operation handler.
  1208. *
  1209. * @return the message.
  1210. */
  1211. @Message(id = 14741, value = "No operation handler")
  1212. String noOperationHandler();
  1213. /**
  1214. * Creates an exception indicating a node is already registered at the location.
  1215. *
  1216. * @param location the location the node is registered at.
  1217. * @param value the node value.
  1218. *
  1219. * @return an {@link IllegalArgumentException} for the error.
  1220. */
  1221. @Message(id = 14742, value = "A node is already registered at '%s%s)'")
  1222. IllegalArgumentException nodeAlreadyRegistered(String location, String value);
  1223. /**
  1224. * Creates an exception indicating the {@code path} is not a directory.
  1225. *
  1226. * @param path the path.
  1227. *
  1228. * @return an {@link IllegalStateException} for the error.
  1229. */
  1230. @Message(id = 14743, value = "%s is not a directory")
  1231. IllegalStateException notADirectory(String path);
  1232. /**
  1233. * Creates an exception indicating no {@code path/className} was found for the module identifier.
  1234. *
  1235. * @param path the path of the SPI.
  1236. * @param className the class name.
  1237. * @param id the module identifier.
  1238. *
  1239. * @return an {@link IllegalStateException} for the error.
  1240. */
  1241. @Message(id = 14744, value = "No %s%s found for %s")
  1242. IllegalStateException notFound(String path, String className, ModuleIdentifier id);
  1243. /**
  1244. * Creates an exception indicating an asynchronous operation cannot execute without an executor.
  1245. *
  1246. * @return an {@link IllegalStateException} for the error.
  1247. */
  1248. @Message(id = 14745, value = "Cannot execute asynchronous operation without an executor")
  1249. IllegalStateException nullAsynchronousExecutor();
  1250. /**
  1251. * An exception indicating the {@code name} may not be {@code null}.
  1252. *
  1253. * @param name the name that cannot be {@code null}.
  1254. *
  1255. * @return the exception.
  1256. */
  1257. @Message(id = 14746, value = "%s may not be null")
  1258. OperationFailedException nullNotAllowed(String name);
  1259. /**
  1260. * Creates an exception indicating the variable, represented by the {@code name} parameter, was {@code null}.
  1261. *
  1262. * @param name the name of the variable that was {@code null}.
  1263. *
  1264. * @return an {@link IllegalArgumentException} for the error.
  1265. */
  1266. @Message(id = 14747, value = "%s is null")
  1267. IllegalArgumentException nullVar(String name);
  1268. /**
  1269. * Creates a message indicating the operation step.
  1270. *
  1271. * @param step the step.
  1272. *
  1273. * @return the message.
  1274. */
  1275. @Message(id = Message.NONE, value = "Operation %s")
  1276. String operation(String step);
  1277. /**
  1278. * Creates an exception indicating the operation is already complete.
  1279. *
  1280. * @return an {@link IllegalStateException} for the error.
  1281. */
  1282. @Message(id = 14748, value = "Operation already complete")
  1283. IllegalStateException operationAlreadyComplete();
  1284. /**
  1285. * A message indicating the operation handler failed.
  1286. *
  1287. * @param msg the failure message.
  1288. *
  1289. * @return the message.
  1290. */
  1291. @Message(id = 14749, value = "Operation handler failed: %s")
  1292. String operationHandlerFailed(String msg);
  1293. /**
  1294. * A message indicating the operation handler failed to complete.
  1295. *
  1296. * @return the message.
  1297. */
  1298. @Message(id = 14750, value = "Operation handler failed to complete")
  1299. String operationHandlerFailedToComplete();
  1300. /**
  1301. * A message indicating the operation is rolling back.
  1302. *
  1303. * @return the message.
  1304. */
  1305. @Message(id = 14751, value = "Operation rolling back")
  1306. String operationRollingBack();
  1307. /**
  1308. * A message indicating the operation succeeded and is committing.
  1309. *
  1310. * @return the message.
  1311. */
  1312. @Message(id = 14752, value = "Operation succeeded, committing")
  1313. String operationSucceeded();
  1314. /**
  1315. * A message indicating there is no operation, represented by the {@code op} parameter, registered at the address,
  1316. * represented by the {@code address} parameter.
  1317. *
  1318. * @param op the operation.
  1319. * @param address the address.
  1320. *
  1321. * @return the message.
  1322. */
  1323. @Message(id = 14753, value = "There is no operation %s registered at address %s")
  1324. String operationNotRegistered(String op, PathAddress address);
  1325. /**
  1326. * Creates an exception indicating an operation reply value type description is required but was not implemented
  1327. * for the operation represented by the {@code operationName} parameter.
  1328. *
  1329. * @param operationName the name of the operation that requires the reply value type description.
  1330. *
  1331. * @return an {@link IllegalStateException} for the error.
  1332. */
  1333. @Message(id = 14754, value = "An operation reply value type description is required but was not implemented for operation %s")
  1334. IllegalStateException operationReplyValueTypeRequired(String operationName);
  1335. /**
  1336. * A message indicating there was a parsing problem.
  1337. *
  1338. * @param row the row the problem occurred at.
  1339. * @param col the column the problem occurred at.
  1340. * @param msg a message to concatenate.
  1341. *
  1342. * @return the message.
  1343. */
  1344. @Message(id = 14755, value = "Parsing problem at [row,col]:[%d ,%d]%nMessage: %s")
  1345. String parsingProblem(int row, int col, String msg);
  1346. /**
  1347. * Creates an exception indicating no configuration persister was injected.
  1348. *
  1349. * @return a {@link StartException} for the error.
  1350. */
  1351. @Message(id = 14756, value = "No configuration persister was injected")
  1352. StartException persisterNotInjected();
  1353. /**
  1354. * Creates an exception indicating the thread was interrupted waiting for the operation to prepare/fail.
  1355. *
  1356. * @return a {@link RequestProcessingException} for the error.
  1357. */
  1358. @Message(id = 14757, value = "Thread was interrupted waiting for the operation to prepare/fail")
  1359. RequestProcessingException prepareFailThreadInterrupted();
  1360. /**
  1361. * Creates an exception indicating the profile has no subsystem configurations.
  1362. *
  1363. * @param location the location of the error.
  1364. *
  1365. * @return a {@link XMLStreamException} for the error.
  1366. */
  1367. //No longer used
  1368. //@Message(id = 14758, value = "Profile has no subsystem configurations")
  1369. //XMLStreamException profileHasNoSubsystems(@Param Location location);
  1370. /**
  1371. * Creates an exception indicating no profile found for inclusion.
  1372. *
  1373. * @param location the location of the error.
  1374. *
  1375. * @return a {@link XMLStreamException} for the error.
  1376. */
  1377. @Message(id = 14759, value = "No profile found for inclusion")
  1378. XMLStreamException profileNotFound(@Param Location location);
  1379. /**
  1380. * Creates an exception indicating the proxy handler is already registered at the location.
  1381. *
  1382. * @param location the location.
  1383. *
  1384. * @return an {@link IllegalArgumentException} for the error.
  1385. */
  1386. @Message(id = 14760, value = "A proxy handler is already registered at location '%s'")
  1387. IllegalArgumentException proxyHandlerAlreadyRegistered(String location);
  1388. /**
  1389. * Creates an exception indicating a thread was interrupted waiting to read attachment input stream from a remote
  1390. * caller.
  1391. *
  1392. * @return a {@link RuntimeException} for the error.
  1393. */
  1394. @Message(id = 14761, value = "Thread was interrupted waiting to read attachment input stream from remote caller")
  1395. RuntimeException remoteCallerThreadInterrupted();
  1396. /**
  1397. * A message indicating that removing services has lead to unsatisfied dependencies.
  1398. * <p/>
  1399. * ** Note: Use with {@link #removingServiceUnsatisfiedDependencies(String)}
  1400. *
  1401. * @return the message.
  1402. */
  1403. @Message(id = 14762, value = "Removing services has lead to unsatisfied dependencies:")
  1404. String removingServiceUnsatisfiedDependencies();
  1405. /**
  1406. * A message indicating that removing services has lead to unsatisfied dependencies.
  1407. * <p/>
  1408. * ** Note: Use with {@link #removingServiceUnsatisfiedDependencies()}
  1409. *
  1410. * @param name the name of the service.
  1411. *
  1412. * @return the message.
  1413. */
  1414. @Message(id = Message.NONE, value = "%nService %s was depended upon by ")
  1415. String removingServiceUnsatisfiedDependencies(String name);
  1416. /**
  1417. * A message indicating the {@code name} is required.
  1418. *
  1419. * @param name the name of the required attribute.
  1420. *
  1421. * @return the message.
  1422. */
  1423. @Message(id = 14763, value = "%s is required")
  1424. String required(String name);
  1425. /**
  1426. * Creates an exception indicating the {@code name} is reserved.
  1427. *
  1428. * @param name the name that is reserved.
  1429. * @param location the location of the error.
  1430. *
  1431. * @return a {@link XMLStreamException} for the error.
  1432. */
  1433. @Message(id = 14764, value = "%s is reserved")
  1434. XMLStreamException reserved(String name, @Param Location location);
  1435. /**
  1436. * A message indicating a resource does not exist.
  1437. *
  1438. * @param resource the resource.
  1439. *
  1440. * @return the message.
  1441. */
  1442. @Message(id = 14765, value = "Resource does not exist: %s")
  1443. String resourceNotFound(ModelNode resource);
  1444. /**
  1445. * Creates an exception indicating a resource does not exist.
  1446. *
  1447. * @param ancestor the ancestor path.
  1448. * @param address the address.
  1449. *
  1450. * @return an {@link OperationFailedRuntimeException} for the error.
  1451. */
  1452. @Message(id = 14766, value = "Resource %s does not exist; a resource at address %s cannot be created until all ancestor resources have been added")
  1453. OperationFailedRuntimeException resourceNotFound(PathAddress ancestor, PathAddress address);
  1454. /**
  1455. * Creates an exception indicating the rollback has already been invoked.
  1456. *
  1457. * @return an {@link IllegalStateException} for the error.
  1458. */
  1459. @Message(id = 14767, value = "rollback() has already been invoked")
  1460. IllegalStateException rollbackAlreadyInvoked();
  1461. /**
  1462. * A message indicating a schema with URI, represented by the {@code schemaUri} parameter, is already registered
  1463. * with the location, represented by the {@code location} parameter.
  1464. *
  1465. * @param schemaUri the schema URI.
  1466. * @param location the location.
  1467. *
  1468. * @return the message.
  1469. */
  1470. @Message(id = 14768, value = "Schema with URI %s already registered with location %s")
  1471. String schemaAlreadyRegistered(String schemaUri, String location);
  1472. /**
  1473. * A message indicating the schema was not found wit the {@code uri}.
  1474. *
  1475. * @param uri the schema URI.
  1476. *
  1477. * @return the message.
  1478. */
  1479. @Message(id = 14769, value = "No schema location with URI %s found")
  1480. String schemaNotFound(String uri);
  1481. /**
  1482. * Creates an exception indicating the service install was cancelled.
  1483. *
  1484. * @return a {@link CancellationException} for the error.
  1485. */
  1486. @Message(id = 14770, value = "Service install was cancelled")
  1487. CancellationException serviceInstallCancelled();
  1488. /**
  1489. * A message indicating the missing services.
  1490. *
  1491. * @param sb the missing services.
  1492. *
  1493. * @return the message.
  1494. */
  1495. @Message(id = Message.NONE, value = "is missing [%s]")
  1496. String servicesMissing(StringBuilder sb);
  1497. /**
  1498. * A message that indicates there are services with missing or unavailable dependencies.
  1499. *
  1500. * @return the message.
  1501. */
  1502. @Message(id = 14771, value = "Services with missing/unavailable dependencies")
  1503. String servicesMissingDependencies();
  1504. /**
  1505. * Creates an exception indicating the get service registry only supported in runtime operations.
  1506. *
  1507. * @return an {@link IllegalStateException} for the error.
  1508. */
  1509. @Message(id = 14772, value = "Get service registry only supported in runtime operations")
  1510. IllegalStateException serviceRegistryRuntimeOperationsOnly();
  1511. /**
  1512. * Creates an exception indicating the service removal only supported in runtime operations.
  1513. *
  1514. * @return an {@link IllegalStateException} for the error.
  1515. */
  1516. @Message(id = 14773, value = "Service removal only supported in runtime operations")
  1517. IllegalStateException serviceRemovalRuntimeOperationsOnly();
  1518. /**
  1519. * A message for the service status report header.
  1520. *
  1521. * @return the message.
  1522. */
  1523. @Message(id = 14774, value = "Service status report%n")
  1524. String serviceStatusReportHeader();
  1525. /**
  1526. * A message for the service status report indicating new missing or unsatisfied dependencies.
  1527. *
  1528. * @return the message.
  1529. */
  1530. @Message(id = 14775, value = " New missing/unsatisfied dependencies:%n")
  1531. String serviceStatusReportDependencies();
  1532. /**
  1533. * A message for the service status report for missing dependencies.
  1534. *
  1535. * @param serviceName the name of the service
  1536. *
  1537. * @return the message.
  1538. */
  1539. @Message(id = Message.NONE, value = " %s (missing) dependents: %s %n")
  1540. String serviceStatusReportMissing(ServiceName serviceName, String dependents);
  1541. /**
  1542. * A message for the service status report for unavailable dependencies.
  1543. *
  1544. * @param serviceName the name of the service
  1545. *
  1546. * @return the message.
  1547. */
  1548. @Message(id = Message.NONE, value = " %s (unavailable) dependents: %s %n")
  1549. String serviceStatusReportUnavailable(ServiceName serviceName, String dependents);
  1550. /**
  1551. * A message for the service status report indicating new corrected service.
  1552. *
  1553. * @return the message.
  1554. */
  1555. @Message(id = 14776, value = " Newly corrected services:%n")
  1556. String serviceStatusReportCorrected();
  1557. /**
  1558. * A message for the service status report for no longer required dependencies.
  1559. *
  1560. * @param serviceName the name of the service
  1561. *
  1562. * @return the message.
  1563. */
  1564. @Message(id = Message.NONE, value = " %s (no longer required)%n")
  1565. String serviceStatusReportNoLongerRequired(ServiceName serviceName);
  1566. /**
  1567. * A message for the service status report for unavailable dependencies.
  1568. *
  1569. * @param serviceName the name of the service
  1570. *
  1571. * @return the message.
  1572. */
  1573. @Message(id = Message.NONE, value = " %s (new available)%n")
  1574. String serviceStatusReportAvailable(ServiceName serviceName);
  1575. /**
  1576. * A message for the service status report for failed services.
  1577. *
  1578. * @return the message.
  1579. */
  1580. @Message(id = 14777, value = " Services which failed to start:")
  1581. String serviceStatusReportFailed();
  1582. /**
  1583. * Creates an exception indicating the get service target only supported in runtime operations.
  1584. *
  1585. * @return an {@link IllegalStateException} for the error.
  1586. */
  1587. @Message(id = 14778, value = "Get service target only supported in runtime operations")
  1588. IllegalStateException serviceTargetRuntimeOperationsOnly();
  1589. /**
  1590. * Creates an exception indicating the stage is already complete.
  1591. *
  1592. * @param stage the stage.
  1593. *
  1594. * @return an {@link IllegalStateException} for the error.
  1595. */
  1596. @Message(id = 14779, value = "Stage %s is already complete")
  1597. IllegalStateException stageAlreadyComplete(OperationContext.Stage stage);
  1598. /**
  1599. * A message indicating the step handler failed after completion.
  1600. *
  1601. * @param handler the handler that failed.
  1602. *
  1603. * @return the message.
  1604. */
  1605. @Message(id = 14780, value = "Step handler %s failed after completion")
  1606. String stepHandlerFailed(OperationStepHandler handler);
  1607. /**
  1608. * A message indicating the step handler for the operation failed handling operation rollback.
  1609. *
  1610. * @param handler the handler that failed.
  1611. * @param op the operation.
  1612. * @param address the path address.
  1613. * @param msg the error message.
  1614. *
  1615. * @return the message.
  1616. */
  1617. @Message(id = 14781, value = "Step handler %s for operation %s at address %s failed handling operation rollback -- %s")
  1618. String stepHandlerFailedRollback(OperationStepHandler handler, String op, PathAddress address, String msg);
  1619. /**
  1620. * A message indicating an interruption awaiting subsystem boot operation execution.
  1621. *
  1622. * @return the message.
  1623. */
  1624. @Message(id = 14782, value = "Interrupted awaiting subsystem boot operation execution")
  1625. String subsystemBootInterrupted();
  1626. /**
  1627. * A message indicating the boot operations for the subsystem, represented by the {@code name} parameter, failed
  1628. * without explanation.
  1629. *
  1630. * @param name the name of the subsystem.
  1631. *
  1632. * @return the message.
  1633. */
  1634. @Message(id = 14783, value = "Boot operations for subsystem %s failed without explanation")
  1635. String subsystemBootOperationFailed(String name);
  1636. /**
  1637. * A message indicating a failure executing subsystem boot operations.
  1638. *
  1639. * @return the message.
  1640. */
  1641. @Message(id = 14784, value = "Failed executing subsystem %s boot operations")
  1642. String subsystemBootOperationFailedExecuting(String name);
  1643. /**
  1644. * Creates an exception indicating the table is full.
  1645. *
  1646. * @return an {@link IllegalStateException} for the error.
  1647. */
  1648. @Message(id = 14785, value = "Table is full!")
  1649. IllegalStateException tableIsFull();
  1650. /**
  1651. * Creates an exception indicating an interruption awaiting a transaction commit or rollback.
  1652. *
  1653. * @return a {@link RuntimeException} for the error.
  1654. */
  1655. @Message(id = 14786, value = "Interrupted awaiting transaction commit or rollback")
  1656. RuntimeException transactionInterrupted();
  1657. /**
  1658. * Creates an exception indicating a timeout occurred waiting for the transaction.
  1659. *
  1660. * @param type the transaction type.
  1661. *
  1662. * @return a {@link RuntimeException} for the error.
  1663. */
  1664. @Message(id = 14787, value = "A timeout occurred waiting for the transaction to %s")
  1665. RuntimeException transactionTimeout(String type);
  1666. /**
  1667. * Creates an exception indicating an unexpected attribute, represented by the {@code name} parameter, was
  1668. * encountered.
  1669. *
  1670. * @param name the unexpected attribute name.
  1671. * @param location the location of the error.
  1672. *
  1673. * @return a {@link XMLStreamException} for the error.
  1674. */
  1675. @Message(id = 14788, value = "Unexpected attribute '%s' encountered")
  1676. XMLStreamException unexpectedAttribute(QName name, @Param Location location);
  1677. /**
  1678. * Creates an exception indicating an unexpected element, represented by the {@code name} parameter, was
  1679. * encountered.
  1680. *
  1681. * @param name the unexpected element name.
  1682. * @param location the location of the error.
  1683. *
  1684. * @return a {@link XMLStreamException} for the error.
  1685. */
  1686. @Message(id = 14789, value = "Unexpected element '%s' encountered")
  1687. XMLStreamException unexpectedElement(QName name, @Param Location location);
  1688. /**
  1689. * Creates an exception indicating an unexpected end of an element, represented by the {@code name} parameter, was
  1690. * encountered.
  1691. *
  1692. * @param name the unexpected element name.
  1693. * @param location the location of the error.
  1694. *
  1695. * @return a {@link XMLStreamException} for the error.
  1696. */
  1697. @Message(id = 14790, value = "Unexpected end of element '%s' encountered")
  1698. XMLStreamException unexpectedEndElement(QName name, @Param Location location);
  1699. /**
  1700. * Creates an exception indicating the {@code storage} was unexpected.
  1701. *
  1702. * @param storage the storage that was unexpected.
  1703. *
  1704. * @return an {@link IllegalStateException} for the error.
  1705. */
  1706. @Message(id = 14791, value = "Unexpected storage %s")
  1707. IllegalStateException unexpectedStorage(Storage storage);
  1708. /**
  1709. * A message indicating the attribute, represented by the {@code name} parameter, is unknown.
  1710. *
  1711. * @param name the attribute name.
  1712. *
  1713. * @return the message.
  1714. */
  1715. @Message(id = 14792, value = "Unknown attribute %s")
  1716. String unknownAttribute(String name);
  1717. /**
  1718. * A message indicating there is no known child type with the name, represented by the {@code name} parameter.
  1719. *
  1720. * @param name the name of the child.
  1721. *
  1722. * @return the message.
  1723. */
  1724. @Message(id = 14793, value = "No known child type named %s")
  1725. String unknownChildType(String name);
  1726. /**
  1727. * Creates an exception indicating the property, represented by the {@code name} parameter, is unknown.
  1728. *
  1729. * @param name the name of the property.
  1730. *
  1731. * @return a {@link RuntimeException} for the error.
  1732. */
  1733. @Message(id = 14794, value = "Unknown property in interface criteria list: %s")
  1734. RuntimeException unknownCriteriaInterfaceProperty(String name);
  1735. /**
  1736. * A message indicating the interface criteria type, represented by the {@code type} parameter, is unknown.
  1737. *
  1738. * @param type the unknown criteria type.
  1739. *
  1740. * @return the message.
  1741. */
  1742. @Message(id = 14795, value = "Unknown interface criteria type %s")
  1743. String unknownCriteriaInterfaceType(String type);
  1744. /**
  1745. * Creates an exception indicating the interface, represented by the {@code value} attribute, for the attribute,
  1746. * represented by the {@code attributeName} parameter, is unknown on in the element.
  1747. *
  1748. * @param value the value of the attribute.
  1749. * @param attributeName the attribute name.
  1750. * @param elementName the element name for the attribute.
  1751. * @param location the location of the error.
  1752. *
  1753. * @return a {@link XMLStreamException} for the error.
  1754. */
  1755. @Message(id = 14796, value = "Unknown interface %s %s must be declared in element %s")
  1756. XMLStreamException unknownInterface(String value, String attributeName, String elementName, @Param Location location);
  1757. /**
  1758. * Creates an exception indicating an unknown {@code elementName1} {@code value} {@code elementName2} must be
  1759. * declared in the element represented by the {@code parentElement} parameter.
  1760. *
  1761. * @param elementName1 the name of the first element.
  1762. * @param value the value.
  1763. * @param elementName2 the name of the second element.
  1764. * @param parentElement the parent element name.
  1765. * @param location the location of the error.
  1766. *
  1767. * @return a {@link XMLStreamException} for the error.
  1768. */
  1769. @Message(id = 14797, value = "Unknown %s %s %s must be declared in element %s")
  1770. XMLStreamException unknownValueForElement(String elementName1, String value, String elementName2, String parentElement, @Param Location location);
  1771. /**
  1772. * A message indicating the validation failed.
  1773. *
  1774. * @param name the parameter name the validation failed on.
  1775. *
  1776. * @return the message.
  1777. */
  1778. @Message(id = 14798, value = "Validation failed for %s")
  1779. String validationFailed(String name);
  1780. /**
  1781. * A message indicating that there are more services than would be practical to display
  1782. *
  1783. * @param number the number of services that were not displayed
  1784. *
  1785. * @return the message.
  1786. */
  1787. @Message(id = 14799, value = "... and %s more")
  1788. String andNMore(int number);
  1789. /**
  1790. * Creates an exception indicating an invalid value, represented by the {@code value} parameter, was found for the
  1791. * attribute, represented by the {@code name} parameter.
  1792. *
  1793. * @param value the invalid value.
  1794. * @param name the attribute name.
  1795. * @param validValues the legal values for the attribute
  1796. * @param location the location of the error.
  1797. *
  1798. * @return a {@link XMLStreamException} for the error.
  1799. */
  1800. @Message(id = 14800, value = "Invalid value '%s' for attribute '%s' -- valid values are %s")
  1801. XMLStreamException invalidAttributeValue(String value, QName name, Set<String> validValues, @Param Location location);
  1802. /**
  1803. * Creates an exception message indicating an expression could not be resolved due to lack of security permissions.
  1804. *
  1805. * @param toResolve the node being resolved
  1806. * @param e the SecurityException
  1807. * @return an {@link OperationFailedException} for the caller
  1808. */
  1809. @Message(id = 14801, value = "Caught SecurityException attempting to resolve expression '%s' -- %s")
  1810. String noPermissionToResolveExpression(ModelNode toResolve, SecurityException e);
  1811. /**
  1812. * Creates an exception message indicating an expression could not be resolved due to no corresponding system property
  1813. * or environment variable.
  1814. *
  1815. * @param toResolve the node being resolved
  1816. * @param e the SecurityException
  1817. * @return an {@link OperationFailedException} for the caller
  1818. */
  1819. @Message(id = 14802, value = "Cannot resolve expression '%s' -- %s")
  1820. String cannotResolveExpression(ModelNode toResolve, IllegalStateException e);
  1821. /**
  1822. * Creates an exception indicating the resource is a duplicate.
  1823. *
  1824. * @param address the address of the resource.
  1825. *
  1826. * @return an {@link OperationFailedRuntimeException} for the error.
  1827. */
  1828. @Message(id = 14803, value = "Duplicate resource %s")
  1829. OperationFailedRuntimeException duplicateResourceAddress(PathAddress address);
  1830. /**
  1831. * Creates an exception indicating a resource cannot be removed due to the existence of child resources.
  1832. *
  1833. * @param children the address elements for the children.
  1834. *
  1835. * @return an {@link OperationFailedException} for the error.
  1836. */
  1837. @Message(id = 14804, value = "Cannot remove resource before removing child resources %s")
  1838. OperationFailedException cannotRemoveResourceWithChildren(List<PathElement> children);
  1839. /**
  1840. * Creates an exception indicating the canonical file for the main file could not be found.
  1841. *
  1842. * @param name the main file.
  1843. * @param configurationDir the configuration directory
  1844. *
  1845. * @return an {@link IllegalStateException} for the error.
  1846. */
  1847. @Message(id = 14805, value = "Could not get main file: %s. Specified files must be relative to the configuration dir: %s")
  1848. IllegalStateException mainFileNotFound(String name, File configurationDir);
  1849. /**
  1850. * Creates an exception indicating a resource cannot be found.
  1851. *
  1852. * @param pathAddress the address for the resource.
  1853. *
  1854. * @return an {@link OperationFailedRuntimeException} for the error.
  1855. */
  1856. @Message(id = 14807, value = "Management resource '%s' not found")
  1857. OperationFailedRuntimeException managementResourceNotFound(PathAddress pathAddress);
  1858. /**
  1859. * Creates an exception message indicating a child resource cannot be found.
  1860. *
  1861. * @param childAddress the address element for the child.
  1862. *
  1863. * @return an message for the error.
  1864. */
  1865. @Message(id = 14808, value = "Child resource '%s' not found")
  1866. String childResourceNotFound(PathElement childAddress);
  1867. /**
  1868. * Creates an exception indicating a node is already registered at the location.
  1869. *
  1870. * @param location the location of the existing node.
  1871. *
  1872. * @return an {@link IllegalArgumentException} for the error.
  1873. */
  1874. @Message(id = 14809, value = "A node is already registered at '%s'")
  1875. IllegalArgumentException nodeAlreadyRegistered(String location);
  1876. /**
  1877. * Creates an exception indicating that an attempt was made to remove an extension before removing all of its
  1878. * subsystems.
  1879. *
  1880. * @param moduleName the name of the extension
  1881. * @param subsystem the name of the subsystem
  1882. *
  1883. * @return an {@link IllegalStateException} for the error
  1884. */
  1885. @Message(id = 14810, value = "An attempt was made to unregister extension %s which still has subsystem %s registered")
  1886. IllegalStateException removingExtensionWithRegisteredSubsystem(String moduleName, String subsystem);
  1887. /**
  1888. * Creates an exception indicating that an attempt was made to register an override model for the root model
  1889. * registration.
  1890. *
  1891. * @return an {@link IllegalStateException} for the error
  1892. */
  1893. @Message(id = 14811, value = "An override model registration is not allowed for the root model registration")
  1894. IllegalStateException cannotOverrideRootRegistration();
  1895. /**
  1896. * Creates an exception indicating that an attempt was made to register an override model for a non-wildcard
  1897. * registration.
  1898. *
  1899. * @param valueName the name of the non-wildcard registration that cannot be overridden
  1900. * @return an {@link IllegalStateException} for the error
  1901. */
  1902. @Message(id = 14812, value = "An override model registration is not allowed for non-wildcard model registrations. This registration is for the non-wildcard name '%s'.")
  1903. IllegalStateException cannotOverrideNonWildCardRegistration(String valueName);
  1904. /**
  1905. * Creates an exception indicating that an attempt was made to remove a wildcard model registration via
  1906. * the unregisterOverrideModel API.
  1907. *
  1908. * @return an {@link IllegalArgumentException} for the error
  1909. */
  1910. @Message(id = 14813, value = "A registration named '*' is not an override model and cannot be unregistered via the unregisterOverrideModel API.")
  1911. IllegalArgumentException wildcardRegistrationIsNotAnOverride();
  1912. /**
  1913. * Creates an exception indicating that an attempt was made to remove a resource registration from the root registration.
  1914. *
  1915. * @return an {@link IllegalStateException} for the error
  1916. */
  1917. @Message(id = 14814, value = "The root resource registration does not support overrides, so no override can be removed.")
  1918. IllegalStateException rootRegistrationIsNotOverridable();
  1919. /**
  1920. * Creates an exception indicating there is no operation, represented by the {@code op} parameter, registered at the address,
  1921. * represented by the {@code address} parameter.
  1922. *
  1923. * @param op the operation.
  1924. * @param address the address.
  1925. * @return the message.
  1926. */
  1927. @Message(id = 14815, value = "There is no operation %s registered at address %s")
  1928. IllegalArgumentException operationNotRegisteredException(String op, PathAddress address);
  1929. /**
  1930. * Creates a runtime exception indicating there was a failure to recover services during an operation rollback
  1931. *
  1932. * @param cause the cause of the failure
  1933. * @return the runtime exception.
  1934. */
  1935. @Message(id = 14816, value = "Failed to recover services during operation rollback")
  1936. RuntimeException failedToRecoverServices(@Param OperationFailedException cause);
  1937. /**
  1938. * Creates an IllegalStateException indicating a subsystem with the given name has already been registered by
  1939. * a different extension.
  1940. *
  1941. * @param subsystemName the cause of the failure
  1942. * @return the runtime exception.
  1943. */
  1944. @Message(id = 14817, value = "A subsystem named '%s' cannot be registered by extension '%s' -- a subsystem with that name has already been registered by extension '%s'.")
  1945. IllegalStateException duplicateSubsystem(String subsystemName, String duplicatingModule, String existingModule);
  1946. /**
  1947. * Creates an exception indicating that the operation is missing one of the standard fields.
  1948. *
  1949. * @param field the standard field name
  1950. * @param operation the operation as a string. May be empty
  1951. */
  1952. @Message(id = 14818, value = "Operation has no '%s' field. %s")
  1953. IllegalArgumentException validationFailedOperationHasNoField(String field, String operation);
  1954. /**
  1955. * Creates an exception indicating that the operation has an empty name.
  1956. *
  1957. * @param operation the operation. May be null
  1958. * @param operation the operation as a string. May be empty
  1959. */
  1960. @Message(id = 14819, value = "Operation has a null or empty name. %s")
  1961. IllegalArgumentException validationFailedOperationHasANullOrEmptyName(String operation);
  1962. /**
  1963. * Creates an exception indicating that the operation could not be found
  1964. *
  1965. * @param name the name of the operation
  1966. * @param address the operation address
  1967. * @param operation the operation as a string. May be empty
  1968. */
  1969. @Message(id = 14820, value = "No operation called '%s' at '%s'. %s")
  1970. IllegalArgumentException validationFailedNoOperationFound(String name, PathAddress address, String operation);
  1971. /**
  1972. * Creates an exception indicating that the operation contains a parameter not in its descriptor
  1973. *
  1974. * @param paramName the name of the parameter in the operation
  1975. * @param parameterNames the valid parameter names
  1976. * @param operation the operation as a string. May be empty
  1977. */
  1978. @Message(id = 14821, value = "Operation contains a parameter '%s' which is not one of the expected parameters %s. %s")
  1979. IllegalArgumentException validationFailedActualParameterNotDescribed(String paramName, Set<String> parameterNames, String operation);
  1980. /**
  1981. * Creates an exception indicating that the operation does not contain a required parameter
  1982. *
  1983. * @param paramName the name of the required parameter
  1984. * @param operation the operation as a string. May be empty
  1985. */
  1986. @Message(id = 14822, value = "Required parameter %s is not present. %s")
  1987. IllegalArgumentException validationFailedRequiredParameterNotPresent(String paramName, String operation);
  1988. /**
  1989. * Creates an exception indicating that the operation contains both an alternative and a required parameter
  1990. *
  1991. * @param alternative the name of the alternative parameter
  1992. * @param paramName the name of the required parameter
  1993. * @param operation the operation as a string. May be empty
  1994. */
  1995. @Message(id = 14823, value = "Alternative parameter '%s' for required parameter '%s' was used. Please use one or the other. %s")
  1996. IllegalArgumentException validationFailedRequiredParameterPresentAsWellAsAlternative(String alternative, String paramName, String operation);
  1997. /**
  1998. * Creates an exception indicating that an operation parameter could not be converted to the required type
  1999. *
  2000. * @param paramName the name of the required parameter
  2001. * @param type the required type
  2002. * @param operation the operation as a string. May be empty
  2003. */
  2004. @Message(id = 14824, value = "Could not convert the parameter '%s' to a %s. %s")
  2005. IllegalArgumentException validationFailedCouldNotConvertParamToType(String paramName, ModelType type, String operation);
  2006. /**
  2007. * Creates an exception indicating that an operation parameter value is smaller than the allowed minimum value
  2008. *
  2009. * @param value the name of the required parameter
  2010. * @param paramName the name of the required parameter
  2011. * @param min the minimum value
  2012. * @param operation the operation as a string. May be empty
  2013. */
  2014. @Message(id = 14825, value = "The value '%s' passed in for '%s' is smaller than the minimum value '%s'. %s")
  2015. IllegalArgumentException validationFailedValueIsSmallerThanMin(Number value, String paramName, Number min, String operation);
  2016. /**
  2017. * Creates an exception indicating that an operation parameter value is greater than the allowed minimum value
  2018. *
  2019. * @param value the name of the required parameter
  2020. * @param paramName the name of the required parameter
  2021. * @param max the minimum value
  2022. * @param operation the operation as a string. May be empty
  2023. */
  2024. @Message(id = 14826, value = "The value '%s' passed in for '%s' is bigger than the maximum value '%s'. %s")
  2025. IllegalArgumentException validationFailedValueIsGreaterThanMax(Number value, String paramName, Number max, String operation);
  2026. /**
  2027. * Creates an exception indicating that an operation parameter value is shorter than the allowed minimum length
  2028. *
  2029. * @param value the name of the required parameter
  2030. * @param paramName the name of the required parameter
  2031. * @param minLength the minimum value
  2032. * @param operation the operation as a string. May be empty
  2033. */
  2034. @Message(id = 14827, value = "The value '%s' passed in for '%s' is shorter than the minimum length '%s'. %s")
  2035. IllegalArgumentException validationFailedValueIsShorterThanMinLength(Object value, String paramName, Object minLength, String operation);
  2036. /**
  2037. * Creates an exception indicating that an operation parameter value is longer than the allowed maximum length
  2038. *
  2039. * @param value the name of the required parameter
  2040. * @param paramName the name of the required parameter
  2041. * @param maxLength the minimum value
  2042. * @param operation the operation as a string. May be empty
  2043. */
  2044. @Message(id = 14828, value = "The value '%s' passed in for '%s' is longer than the maximum length '%s'. %s")
  2045. IllegalArgumentException validationFailedValueIsLongerThanMaxLength(Object value, String paramName, Object maxLength, String operation);
  2046. /**
  2047. * Creates an exception indicating that an operation parameter list value has an element that is not of the accepted type
  2048. *
  2049. * @param paramName the name of the required parameter
  2050. * @param elementType the expected element type
  2051. * @param operation the operation as a string. May be empty
  2052. */
  2053. @Message(id = 14829, value = "%s is expected to be a list of %s. %s")
  2054. IllegalArgumentException validationFailedInvalidElementType(String paramName, ModelType elementType, String operation);
  2055. /**
  2056. * Creates a string for use in an IllegalArgumentException or a warning message indicating that
  2057. * the required attribute of a parameter in the operation description is not a boolean.
  2058. *
  2059. * @param paramName the name of the parameter
  2060. * @param address the address of the operation
  2061. * @param description the operation description
  2062. */
  2063. @Message(id = 14830, value = "'" + ModelDescriptionConstants.REQUIRED + "' parameter: '%s' must be a boolean in the description of the operation at %s: %s")
  2064. String invalidDescriptionRequiredFlagIsNotABoolean(String paramName, PathAddress address, ModelNode description);
  2065. /**
  2066. * Creates a string for use in an IllegalArgumentException or a warning message indicating that
  2067. * a parameter is undefined in the operation description.
  2068. *
  2069. * @param name the name of the parameter
  2070. * @param address the address of the operation
  2071. * @param description the operation description
  2072. */
  2073. @Message(id = 14831, value = "Undefined request property '%s' in description of the operation at %s: %s")
  2074. String invalidDescriptionUndefinedRequestProperty(String name, PathAddress address, ModelNode description);
  2075. /**
  2076. * Creates a string for use in an IllegalArgumentException or a warning message indicating that
  2077. * a parameter has no type in the operation description
  2078. *
  2079. * @param paramName the name of the parameter
  2080. * @param address the address of the operation
  2081. * @param description the operation description
  2082. */
  2083. @Message(id = 14832, value = "There is no type for parameter '%s' in the description of the operation at %s: %s")
  2084. String invalidDescriptionNoParamTypeInDescription(String paramName, PathAddress address, ModelNode description);
  2085. /**
  2086. * Creates a string for use in an IllegalArgumentException or a warning message indicating that
  2087. * a parameter has an invalid type in the operation description
  2088. *
  2089. * @param paramName the name of the parameter
  2090. * @param address the address of the operation
  2091. * @param description the operation description
  2092. */
  2093. @Message(id = 14833, value = "Could not determine the type of parameter '%s' in the description of the operation at %s: %s")
  2094. String invalidDescriptionInvalidParamTypeInDescription(String paramName, PathAddress address, ModelNode description);
  2095. /**
  2096. * Creates a string for use in an IllegalArgumentException or a warning message indicating that
  2097. * a parameter has a min or max attribute value of a different type from its expected value.
  2098. *
  2099. * @param minOrMax {@code min} or {@code max}
  2100. * @param paramName the name of the parameter
  2101. * @param expectedType the expected type
  2102. * @param address the address of the operation
  2103. * @param description the operation description
  2104. */
  2105. @Message(id = 14834, value = "The '%s' attribute of the '%s' parameter can not be converted to its type: %s in the description of the operation at %s: %s")
  2106. String invalidDescriptionMinMaxForParameterHasWrongType(String minOrMax, String paramName, ModelType expectedType, PathAddress address, ModelNode description);
  2107. /**
  2108. * Creates a string for use in an IllegalArgumentException or a warning message indicating that
  2109. * a parameter has a min-length or max-length attribute value that is not an integer.
  2110. *
  2111. * @param minOrMaxLength {@code min} or {@code max}
  2112. * @param paramName the name of the parameter
  2113. * @param address the address of the operation
  2114. * @param description the operation description
  2115. */
  2116. @Message(id = 14835, value = "The '%s' attribute of the '%s' parameter can not be converted to an integer in the description of the operation at %s: %s")
  2117. String invalidDescriptionMinMaxLengthForParameterHasWrongType(String minOrMaxLength, String paramName, PathAddress address, ModelNode description);
  2118. /**
  2119. * Creates an exception indicating the {@code value} for the {@code name} must be a valid port number.
  2120. *
  2121. * @param name the name for the value that must be a port number.
  2122. * @param value the invalid value.
  2123. * @param location the location of the error.
  2124. *
  2125. * @return a {@link XMLStreamException} for the error.
  2126. */
  2127. @Message(id = 14836, value = "Illegal '%s' value %s -- must be a valid port number")
  2128. XMLStreamException invalidPort(String name, String value, @Param Location location);
  2129. @Message(id = 14837, value = "Cannot resolve the localhost address to create a UUID-based name for this process")
  2130. RuntimeException cannotResolveProcessUUID(@Cause UnknownHostException cause);
  2131. /**
  2132. * Creates an exception indicating a user tried calling ServiceController.setMode(REMOVE) from an operation handler.
  2133. *
  2134. * @return a {@link XMLStreamException} for the error.
  2135. */
  2136. @Message(id = 14838, value = "Do not call ServiceController.setMode(REMOVE), use OperationContext.removeService() instead.")
  2137. IllegalStateException useOperationContextRemoveService();
  2138. /**
  2139. * Creates an exception indicating that the value of the specified parameter does not match any of the allowed
  2140. * values.
  2141. *
  2142. * @param value the parameter value.
  2143. * @param parameterName the parameter name.
  2144. * @param allowedValues a set containing the allowed values.
  2145. * @return an {@link OperationFailedException} for the error.
  2146. */
  2147. @Message(id = 14839, value="Invalid value %s for %s; legal values are %s")
  2148. OperationFailedException invalidEnumValue(String value, String parameterName, Set<?> allowedValues);
  2149. /*
  2150. * Creates an exception indicating a user tried to directly update the configuration model of a managed domain
  2151. * server rather, bypassing the Host Controller.
  2152. *
  2153. * @param operation the name of the operation
  2154. * @param address the address of the operation
  2155. *
  2156. * @return a {@link OperationFailedRuntimeException} for the error.
  2157. */
  2158. @Message(id = 14840, value = "Operation '%s' targeted at resource '%s' was directly invoked by a user. " +
  2159. "User operations are not permitted to directly update the persistent configuration of a server in a managed domain.")
  2160. OperationFailedRuntimeException modelUpdateNotAuthorized(String operation, PathAddress address);
  2161. /*
  2162. * Creates an exception indicating an operation handler tried to access the server results portion of an operation
  2163. * response on a non-HostController process.
  2164. *
  2165. * @param validType ProcessType.HOST_CONTROLLER -- a param here so it won't be translated
  2166. * @param processType the type of process that tried to access the server results
  2167. *
  2168. * @return a {@link IllegalStateException} for the error.
  2169. */
  2170. @Message(id = 14841, value = "An operation handler attempted to access the operation response server results object " +
  2171. "on a process type other than '%s'. The current process type is '%s'")
  2172. IllegalStateException serverResultsAccessNotAllowed(ProcessType validType, ProcessType processType);
  2173. @Message(id = 14842, value = "Can't have both loopback and inet-address criteria")
  2174. String cantHaveBothLoopbackAndInetAddressCriteria();
  2175. @Message(id = 14843, value = "Can't have both link-local and inet-address criteria")
  2176. String cantHaveBothLinkLocalAndInetAddressCriteria();
  2177. @Message(id = 14844, value = "Can't have same criteria for both not and inclusion %s")
  2178. String cantHaveSameCriteriaForBothNotAndInclusion(InterfaceCriteria interfaceCriteria);
  2179. @Message(id = 14845, value = "Invalid value '%s' for attribute '%s' -- no interface configuration with that name exists")
  2180. OperationFailedException nonexistentInterface(String attributeValue, String attributeName);
  2181. @Message(id = 14846, value = "%s is empty")
  2182. IllegalArgumentException emptyVar(String name);
  2183. @Message(id = 14847, value = "Could not find a path called '%s'")
  2184. IllegalArgumentException pathEntryNotFound(String pathName);
  2185. @Message(id = 14848, value="Path entry is read-only: '%s'")
  2186. IllegalArgumentException pathEntryIsReadOnly(String pathName);
  2187. @Message(id = 14849, value="There is already a path entry called: '%s'")
  2188. IllegalArgumentException pathEntryAlreadyExists(String pathName);
  2189. @Message(id = 14850, value="Could not find relativeTo path '%s' for relative path '%s'")
  2190. IllegalStateException pathEntryNotFoundForRelativePath(String relativePath, String pathName);
  2191. @Message(id = 14851, value="Invalid relativePath value '%s'")
  2192. IllegalArgumentException invalidRelativePathValue(String relativePath);
  2193. @Message(id = 14852, value="'%s' is a Windows absolute path")
  2194. IllegalArgumentException pathIsAWindowsAbsolutePath(String path);
  2195. @Message(id = 14853, value="Path '%s' is read-only; it cannot be removed")
  2196. OperationFailedException cannotRemoveReadOnlyPath(String pathName);
  2197. @Message(id = 14854, value="Path '%s' is read-only; it cannot be modified")
  2198. OperationFailedException cannotModifyReadOnlyPath(String pathName);
  2199. /**
  2200. * An exception indicating the {@code name} may not be {@link ModelType#EXPRESSION}.
  2201. *
  2202. * @param name the name of the attribute or parameter value that cannot be an expression
  2203. *
  2204. * @return the exception.
  2205. */
  2206. @Message(id = 14855, value = "%s may not be ModelType.EXPRESSION")
  2207. OperationFailedException expressionNotAllowed(String name);
  2208. @Message(id = 14856, value = "PathManager not available on processes of type '%s'")
  2209. IllegalStateException pathManagerNotAvailable(ProcessType processType);
  2210. /**
  2211. * Creates an exception indicating the {@code value} for the attribute, represented by the {@code name} parameter,
  2212. * is not a valid multicast address.
  2213. *
  2214. * @param cause the cause of the error.
  2215. * @param value the invalid value.
  2216. * @param name the name of the attribute.
  2217. *
  2218. * @return a {@link XMLStreamException} for the error.
  2219. */
  2220. @Message(id = 14857, value = "Value %s for attribute %s is not a valid multicast address")
  2221. OperationFailedException unknownMulticastAddress(@Cause UnknownHostException cause, String value, String name);
  2222. @Message(id = 14858, value="Path '%s' cannot be removed, since the following paths depend on it: %s")
  2223. OperationFailedException cannotRemovePathWithDependencies(String pathName, Set<String> dependencies);
  2224. @Message(id = 14859, value = "Failed to rename temp file %s to %s")
  2225. ConfigurationPersistenceException failedToRenameTempFile(@Cause Throwable cause, File temp, File file);
  2226. @Message(id = 14860, value = "Invalid locale format: %s")
  2227. String invalidLocaleString(String unparsed);
  2228. @Message(id = 14861, value = "<one or more transitive dependencies>")
  2229. String transitiveDependencies();
  2230. /**
  2231. * Creates a message indicating the operation is cancelled.
  2232. *
  2233. * @return the message.
  2234. */
  2235. @Message(id = 14862, value = "Operation cancelled")
  2236. String operationCancelled();
  2237. /**
  2238. * Creates a message indicating the operation is cancelled asynchronously.
  2239. *
  2240. * @return a {@link CancellationException} for the error.
  2241. */
  2242. @Message(id = 14863, value = "Operation cancelled asynchronously")
  2243. OperationCancellationException operationCancelledAsynchronously();
  2244. @Message(id = 14864, value = "Stream was killed")
  2245. IOException streamWasKilled();
  2246. @Message(id = 14865, value = "Stream was closed")
  2247. IOException streamWasClosed();
  2248. @Message(id = 14866, value = "Cannot define both '%s' and '%s'")
  2249. OperationFailedException cannotHaveBothParameters(String nameA, String name2);
  2250. @Message(id = 14867, value = "Failed to delete file %s")
  2251. IllegalStateException couldNotDeleteFile(File file);
  2252. @Message(id = 14868, value = "An alias is already registered at location '%s'")
  2253. IllegalArgumentException aliasAlreadyRegistered(String location);
  2254. @Message(id = 14869, value = "Expected an address under '%s', was '%s'")
  2255. IllegalArgumentException badAliasConvertAddress(PathAddress aliasAddress, PathAddress actual);
  2256. @Message(id = 14870, value = "Alias target address not found: %s")
  2257. IllegalArgumentException aliasTargetResourceRegistrationNotFound(PathAddress targetAddress);
  2258. @Message(id = 14871, value = "No operation called '%s' found for alias address '%s' which maps to '%s'")
  2259. IllegalArgumentException aliasStepHandlerOperationNotFound(String name, PathAddress aliasAddress, PathAddress targetAddress);
  2260. @Message(id = 14872, value = "Resource registration is not an alias")
  2261. IllegalStateException resourceRegistrationIsNotAnAlias();
  2262. @Message(id = 14873, value = "Model contains fields that are not known in definition, fields: %s, path: %s")
  2263. RuntimeException modelFieldsNotKnown(Set<String> fields, PathAddress address);
  2264. @Message(id = 14874, value = "Could not marshal attribute as element: %s")
  2265. UnsupportedOperationException couldNotMarshalAttributeAsElement(String attributeName);
  2266. @Message(id = 14875, value = "Could not marshal attribute as attribute: %s")
  2267. UnsupportedOperationException couldNotMarshalAttributeAsAttribute(String attributeName);
  2268. @Message(id = 14876, value = "Operation %s invoked against multiple target addresses failed at address %s with failure description %s")
  2269. String wildcardOperationFailedAtSingleAddress(String operation, PathAddress address, String failureMessage);
  2270. @Message(id = 14877, value = "Operation %s invoked against multiple target addresses failed at address %s. See the operation result for details.")
  2271. String wildcardOperationFailedAtSingleAddressWithComplexFailure(String operation, PathAddress address);
  2272. @Message(id = 14878, value = "Operation %s invoked against multiple target addresses failed at addresses %s. See the operation result for details.")
  2273. String wildcardOperationFailedAtMultipleAddresses(String operation, Set<PathAddress> addresses);
  2274. @Message(id = 14879, value = "One or more services were unable to start due to one or more indirect dependencies not being available.")
  2275. String missingTransitiveDependencyProblem();
  2276. @Message(id = Message.NONE, value = "Services that were unable to start:")
  2277. String missingTransitiveDependendents();
  2278. @Message(id = Message.NONE, value = "Services that may be the cause:")
  2279. String missingTransitiveDependencies();
  2280. @Message(id = 14880, value = "No operation entry called '%s' registered at '%s'")
  2281. String noOperationEntry(String op, PathAddress pathAddress);
  2282. @Message(id = 14881, value = "No operation handler called '%s' registered at '%s'")
  2283. String noOperationHandler(String op, PathAddress pathAddress);
  2284. @Message(id = 14882, value = "There is no registered path to resolve with path attribute '%s' and/or relative-to attribute '%s on: %s")
  2285. IllegalStateException noPathToResolve(String pathAttributeName, String relativeToAttributeName, ModelNode model);
  2286. /**
  2287. * Logs an error message indicating the given {@code address} does not match any known
  2288. * resource registration.
  2289. *
  2290. * @param address the address.
  2291. */
  2292. @Message(id = 14883, value = "No resource definition is registered for address %s")
  2293. String noSuchResourceType(PathAddress address);
  2294. /**
  2295. * Logs an error message indicating no handler is registered for an operation, represented by the {@code operationName}
  2296. * parameter, at {@code address}.
  2297. *
  2298. * @param operationName the operation name.
  2299. * @param address the address.
  2300. */
  2301. @Message(id = 14884, value = "No operation named '%s' exists at address %s")
  2302. String noHandlerForOperation(String operationName, PathAddress address);
  2303. }