@MessageBundle(projectCode="JBAS")
public interface JaxrsMessages
| Modifier and Type | Field and Description |
|---|---|
static JaxrsMessages |
MESSAGES
The messages.
|
| Modifier and Type | Method and Description |
|---|---|
DeploymentUnitProcessingException |
cannotLoadApplicationClass(Throwable cause)
Creates an exception indicating the JAX-RS application class could not be loaded.
|
String |
conflictUrlMapping()
A message indicating the incorrect mapping config.
|
DeploymentUnitProcessingException |
invalidParamValue(String param,
String value) |
DeploymentUnitProcessingException |
moreThanOneApplicationClassFound(Class<? extends javax.ws.rs.core.Application> app1,
Class<? extends javax.ws.rs.core.Application> app2)
Creates an exception indicating more than one application class found in deployment.
|
DeploymentUnitProcessingException |
noSpringIntegrationJar() |
String |
onlyOneApplicationClassAllowed(StringBuilder sb)
A message indicating only one JAX-RS application class is allowed.
|
DeploymentUnitProcessingException |
typeNameNotAnEjbView(List<Class> type,
String ejbName)
JAX-RS resource @Path annotation is on a class or interface that is not a view
|
static final JaxrsMessages MESSAGES
@Message(id=11230,
value="Could not load JAX-RS Application class")
DeploymentUnitProcessingException cannotLoadApplicationClass(@Cause
Throwable cause)
cause - the cause of the error.DeploymentUnitProcessingException for the error.@Message(id=11231,
value="More than one Application class found in deployment %s and %s")
DeploymentUnitProcessingException moreThanOneApplicationClassFound(Class<? extends javax.ws.rs.core.Application> app1,
Class<? extends javax.ws.rs.core.Application> app2)
app1 - the first application.app2 - the second application.DeploymentUnitProcessingException for the error.@Message(id=11232,
value="Only one JAX-RS Application Class allowed. %s")
String onlyOneApplicationClassAllowed(StringBuilder sb)
sb - a builder with application classes.@Message(id=11233,
value="Please use either @ApplicationPath or servlet mapping for url path config.")
String conflictUrlMapping()
@Message(id=11234,
value="JAX-RS resource %s does not correspond to a view on the EJB %s. @Path annotations can only be placed on classes or interfaces that represent a local, remote or no-interface view of an EJB.")
DeploymentUnitProcessingException typeNameNotAnEjbView(List<Class> type,
String ejbName)
type - The class with the annotationejbName - The ejb@Message(id=11235,
value="Invalid value for parameter %s: %s")
DeploymentUnitProcessingException invalidParamValue(String param,
String value)
@Message(id=11236,
value="No spring integration jar found")
DeploymentUnitProcessingException noSpringIntegrationJar()
Copyright © 2014 JBoss by Red Hat. All rights reserved.