@MessageBundle(projectCode="JBAS")
public interface SarMessages
Modifier and Type | Field and Description |
---|---|
static SarMessages |
MESSAGES
The messages.
|
Modifier and Type | Method and Description |
---|---|
IllegalArgumentException |
classNotFound(Throwable cause)
Creates an exception indicating the class could not be found.
|
IllegalArgumentException |
classNotInstantiated(Throwable cause)
Creates an exception indicating the class was not instantiated.
|
org.jboss.msc.service.StartException |
failedExecutingLegacyMethod(Throwable cause,
String methodName)
Creates an exception indicating a failure to execute a legacy service method, represented by the
methodName parameter. |
DeploymentUnitProcessingException |
failedToGetAttachment(String attachmentType,
DeploymentUnit deploymentUnit)
Creates an exception indicating a failure to get an attachment.
|
DeploymentUnitProcessingException |
failedToProcessSarChild(Throwable cause,
org.jboss.vfs.VirtualFile deploymentRoot)
Creates an exception indicating a failure to process the resource adapter child archives for the deployment root
represented by the
deploymentRoot parameter. |
DeploymentUnitProcessingException |
failedXmlParsing(Throwable cause,
org.jboss.vfs.VirtualFile xmlFile)
Creates an exception indicating a failure to parse the service XML file.
|
DeploymentUnitProcessingException |
failedXmlParsing(org.jboss.vfs.VirtualFile xmlFile)
Creates an exception indicating a failure to parse the service XML file.
|
DeploymentUnitProcessingException |
malformedDependencyName(Throwable cause,
String dependencyName)
Creates an exception indicating that dependency of mbean was malformed in service descriptor.
|
IllegalStateException |
methodNotFound(String methodName,
String methodParams,
String className)
Creates an exception indicating the method could not be found.
|
String |
missingRequiredAttributes()
A message indicating one or more required attributes are missing.
|
IllegalArgumentException |
nullVar(String name)
Creates an exception indicating the variable, represented by the
name parameter, is null . |
IllegalStateException |
propertyMethodNotFound(String methodPrefix,
String propertyName,
String className)
Creates an exception indicating the method for the property is not found.
|
String |
unexpectedContent(String kind,
QName name,
String text)
A message indicating unexpected content was found.
|
static final SarMessages MESSAGES
@Message(id=17220, value="Class not found") IllegalArgumentException classNotFound(@Cause Throwable cause)
cause
- the cause of the error.IllegalArgumentException
for the error.@Message(id=17221, value="Class not instantiated") IllegalArgumentException classNotInstantiated(@Cause Throwable cause)
cause
- the cause of the error.IllegalArgumentException
for the error.@Message(id=17222, value="Failed to execute legacy service %s method") org.jboss.msc.service.StartException failedExecutingLegacyMethod(@Cause Throwable cause, String methodName)
methodName
parameter.cause
- the cause of the error.methodName
- the name of the method that failed to execute.StartException
for the error.@Message(id=17223, value="Failed to get %s attachment for %s") DeploymentUnitProcessingException failedToGetAttachment(String attachmentType, DeploymentUnit deploymentUnit)
attachmentType
- the type/name of the attachment.deploymentUnit
- the deployment unit.DeploymentUnitProcessingException
for the error.@Message(id=17224, value="Failed to parse service xml [%s]") DeploymentUnitProcessingException failedXmlParsing(org.jboss.vfs.VirtualFile xmlFile)
xmlFile
- the XML file that failed to parse.DeploymentUnitProcessingException
for the error.DeploymentUnitProcessingException failedXmlParsing(@Cause Throwable cause, org.jboss.vfs.VirtualFile xmlFile)
cause
- the cause of the error.xmlFile
- the XML file that failed to parse.DeploymentUnitProcessingException
for the error.@Message(id=17225, value="Method \'%s(%s)\' not found for: %s") IllegalStateException methodNotFound(String methodName, String methodParams, String className)
methodName
- the name of the method.methodParams
- the method parameters.className
- the name of the class.IllegalStateException
for the error.@Message(id=17226, value="Missing one or more required attributes:") String missingRequiredAttributes()
@Message(id=17227, value="%s is null") IllegalArgumentException nullVar(String name)
name
parameter, is null
.name
- the name of the variable.IllegalArgumentException
for the error.@Message(id=17228, value="%s method for property \'%s\' not found for: %s") IllegalStateException propertyMethodNotFound(String methodPrefix, String propertyName, String className)
methodPrefix
- the prefix for the method, e.g. get
or set
.propertyName
- the name of the property.className
- the class the property was being queried on.IllegalStateException
for the error.@Message(id=17229, value="Unexpected content of type \'%s\' named \'%s\', text is: %s") String unexpectedContent(String kind, QName name, String text)
kind
- the kind of content.name
- the name of the attribute.text
- the value text of the attribute.@Message(id=17230, value="Failed to process SAR child archives for [%s]") DeploymentUnitProcessingException failedToProcessSarChild(@Cause Throwable cause, org.jboss.vfs.VirtualFile deploymentRoot)
deploymentRoot
parameter.cause
- the cause of the error.deploymentRoot
- the deployment root.DeploymentUnitProcessingException
for the error.@Message(id=17231, value="Malformed dependency name %s") DeploymentUnitProcessingException malformedDependencyName(@Cause Throwable cause, String dependencyName)
cause
- MalformedObjectNameException.dependencyName
- the name of malformed dependency.DeploymentUnitProcessingException
for the error.Copyright © 2015 JBoss by Red Hat. All rights reserved.