@MessageBundle(projectCode="JBAS")
public interface NamingMessages
Modifier and Type | Field and Description |
---|---|
static NamingMessages |
MESSAGES
The default messages.
|
Modifier and Type | Method and Description |
---|---|
SecurityException |
cannotAddToReadOnlyPermissionCollection()
Creates an exception indicating you cannot add a
Permission to a read-only
PermissionCollection . |
String |
cannotBeNull(String name)
A message indicating the
name cannot be null . |
NamingException |
cannotDeferenceObject(Throwable cause)
Creates an exception indicating the object dereference to the object failed.
|
NamingException |
cannotListNonContextBinding()
Creates an exception indicating the inability to list a non-context binding.
|
String |
cannotLookupLink()
A message indicating the link could not be looked up.
|
IllegalStateException |
cannotObtain(Throwable cause,
String name)
Creates an exception indicating the
name could not be obtained. |
NamingException |
cannotResolveService(org.jboss.msc.service.ServiceName serviceName)
Creates an exception indicating the service name could not be resolved.
|
NamingException |
cannotResolveService(org.jboss.msc.service.ServiceName serviceName,
String className,
String state)
Creates an exception indicating the service name could not be resolved.
|
NamingException |
cannotResolveServiceBug(org.jboss.msc.service.ServiceName serviceName,
String className,
String state)
Creates an exception indicating the service name could not be resolved and here is a bug.
|
String |
duplicateBinding(JndiName jndiName,
Object existing,
Object value)
A message indicating duplicate JNDI bindings were found.
|
InvalidNameException |
emptyNameNotAllowed()
Creates an exception indicating an empty name is not allowed.
|
IllegalStateException |
entryNotRegistered(Throwable cause,
String contextName,
Context context)
Creates an exception indicating the JNDI entry is not yet registered in the context.
|
IllegalStateException |
failedToDestroyRootContext(Throwable cause)
Creates an exception indicating a failure to destroy the root context.
|
NamingException |
failedToInstantiate(String description,
String className,
ClassLoader classLoader)
Creates an exception indicating the
className could not be instantiated from the classLoader . |
String |
failedToReadContextEntries(String bindingName)
A message indicating the context entries could not be read from the binding name represented by the
bindingName parameter. |
String |
failedToStart(String name)
A message indicating a failure to start the
name service. |
RuntimeException |
illegalContextInName(String jndiName)
Creates an exception indicating there was an illegal context in the name.
|
IllegalArgumentException |
invalidActionMask()
Creates an exception indicating the actions mask is invalid.
|
NamingException |
invalidContextReference(String referenceName)
Creates an exception indicating the context reference is invalid.
|
IllegalArgumentException |
invalidJndiName(String jndiName)
Creates an exception indicating the JNDI name is invalid.
|
IllegalArgumentException |
invalidLoadFactor()
Creates an exception indicating the load factor must be greater than 0 and less then or equal 1.
|
DeploymentUnitProcessingException |
invalidNameForContextBinding(String name) |
IllegalArgumentException |
invalidPermission(Permission permission)
Creates an exception indicating the permission is invalid.
|
IllegalArgumentException |
invalidPermissionAction(String permissionAction)
Creates an exception indicating the permission actions is unknown.
|
IllegalArgumentException |
invalidTableSize()
Creates an exception indicating the table size cannot be negative.
|
String |
jndiViewNotAvailable()
A message indicating that JNDI view is only available in runtime mode.
|
NameNotFoundException |
nameNotFoundInContext(String name,
Name contextName)
Creates an exception indicating the name could not be found in the context.
|
IllegalStateException |
noBindingsAvailable()
Creates an exception indicating there is nothing available to bind to.
|
IllegalArgumentException |
nullVar(String varName)
Creates an exception indicating the variable is
null . |
NamingException |
objectFactoryCreationFailure(Throwable cause)
Creates an exception indicating the object factory failed to create from the classloader.
|
UnsupportedOperationException |
readOnlyNamingContext()
Creates an exception indicating the naming context is read-only.
|
IllegalArgumentException |
serviceAlreadyBound(org.jboss.msc.service.ServiceName serviceName)
Creates an exception indicating the service name has already been bound.
|
IllegalStateException |
tableIsFull()
Creates an exception indicating the table is full.
|
NamingException |
threadInterrupt(org.jboss.msc.service.ServiceName serviceName)
Creates an exception indicating the thread was interrupted while retrieving the service.
|
static final NamingMessages MESSAGES
@Message(id=11830, value="Attempt to add a Permission to a readonly PermissionCollection") SecurityException cannotAddToReadOnlyPermissionCollection()
Permission
to a read-only
PermissionCollection
.SecurityException
for the error.@Message(id=11831, value="%s cannot be null.") String cannotBeNull(String name)
name
cannot be null
.name
- the name.@Message(id=11832, value="Could not dereference object") NamingException cannotDeferenceObject(@Cause Throwable cause)
cause
- the cause of the error.NamingException
for the error.@Message(id=11833, value="Unable to list a non Context binding.") NamingException cannotListNonContextBinding()
NamingException
for the error.@Message(id=11834, value="Could not lookup link") String cannotLookupLink()
@Message(id=11835, value="Cannot obtain %s") IllegalStateException cannotObtain(@Cause Throwable cause, String name)
name
could not be obtained.cause
- the cause of the error.name
- the name of the object.IllegalStateException
for the error.@Message(id=11836, value="Could not resolve service %s") NamingException cannotResolveService(org.jboss.msc.service.ServiceName serviceName)
serviceName
- the service name.NamingException
for the error.@Message(id=11837, value="Could not resolve service reference to %s in factory %s. Service was in state %s.") NamingException cannotResolveService(org.jboss.msc.service.ServiceName serviceName, String className, String state)
serviceName
- the service name.className
- the factory class name.state
- the state of the service.NamingException
for the error.@Message(id=11838, value="Could not resolve service reference to %s in factory %s. This is a bug in ServiceReferenceObjectFactory. State was %s.") NamingException cannotResolveServiceBug(org.jboss.msc.service.ServiceName serviceName, String className, String state)
serviceName
- the service name.className
- the factory class name.state
- the state of the service.NamingException
for the error.@Message(id=11839, value="Duplicate JNDI bindings for \'%s\' are not compatible. [%s] != [%s]") String duplicateBinding(JndiName jndiName, Object existing, Object value)
jndiName
- the JNDI name.existing
- the existing object.value
- the new object.@Message(id=11840, value="An empty name is not allowed") InvalidNameException emptyNameNotAllowed()
InvalidNameException
for the error.@Message(id=11841, value="Jndi entry \'%s\' is not yet registered in context \'%s\'") IllegalStateException entryNotRegistered(@Cause Throwable cause, String contextName, Context context)
cause
- the cause of the error.contextName
- the context name.context
- the context.IllegalStateException
for the error.@Message(id=11842, value="Failed to destroy root context") IllegalStateException failedToDestroyRootContext(@Cause Throwable cause)
cause
- the cause of the failure.IllegalStateException
for the error.@Message(id=11843, value="Failed instantiate %s %s from classloader %s") NamingException failedToInstantiate(String description, String className, ClassLoader classLoader)
className
could not be instantiated from the classLoader
.description
- a description.className
- the class name.classLoader
- the class loaderNamingException
for the error.@Message(id=11844, value="Failed to read %s context entries.") String failedToReadContextEntries(String bindingName)
bindingName
parameter.bindingName
- the binding name parameter.@Message(id=11845, value="Failed to start %s") String failedToStart(String name)
name
service.name
- the name of the service.@Message(id=11846, value="Illegal context in name: %s") RuntimeException illegalContextInName(String jndiName)
jndiName
- the JNDI name.RuntimeException
for the error.@Message(id=11847, value="invalid actions mask") IllegalArgumentException invalidActionMask()
IllegalArgumentException
for the error.@Message(id=11848, value="Invalid context reference. Not a \'%s\' reference.") NamingException invalidContextReference(String referenceName)
referenceName
- the reference name.NamingException
for the error.@Message(id=11849, value="A valid JNDI name must be provided: %s") IllegalArgumentException invalidJndiName(String jndiName)
jndiName
- the invalid JNDI name.IllegalArgumentException
for the error.@Message(id=11850, value="Load factor must be greater than 0 and less than or equal to 1") IllegalArgumentException invalidLoadFactor()
IllegalArgumentException
for the error.@Message(id=11851, value="invalid permission, unknown action: %s") IllegalArgumentException invalidPermission(Permission permission)
permission
- the permission.IllegalArgumentException
for the error.@Message(id=11852, value="invalid permission, unknown action: %s") IllegalArgumentException invalidPermissionAction(String permissionAction)
permissionAction
- the permission action.IllegalArgumentException
for the error.@Message(id=11853, value="Can not have a negative size table!") IllegalArgumentException invalidTableSize()
IllegalArgumentException
for the error.@Message(id=11854, value="Jndi view is only available in runtime mode.") String jndiViewNotAvailable()
@Message(id=11855, value="Name \'%s\' not found in context \'%s\'") NameNotFoundException nameNotFoundInContext(String name, Name contextName)
name
- the name that could not be found.contextName
- the context name.NameNotFoundException
for the error.@Message(id=11856, value="Nothing available to bind to.") IllegalStateException noBindingsAvailable()
IllegalStateException
for the error.@Message(id=11857, value="%s is null") IllegalArgumentException nullVar(String varName)
null
.varName
- the variable name.IllegalArgumentException
for the error.@Message(id=11858, value="Failed to create object factory from classloader.") NamingException objectFactoryCreationFailure(@Cause Throwable cause)
cause
- the cause of the failure.NamingException
for the error.@Message(id=11859, value="Naming context is read-only") UnsupportedOperationException readOnlyNamingContext()
UnsupportedOperationException
for the error.@Message(id=11860, value="Service with name [%s] already bound.") IllegalArgumentException serviceAlreadyBound(org.jboss.msc.service.ServiceName serviceName)
serviceName
- the service name.IllegalArgumentException
for the error.@Message(id=11861, value="Table is full!") IllegalStateException tableIsFull()
IllegalArgumentException
for the error.@Message(id=11862, value="Thread interrupted while retrieving service reference for service %s") NamingException threadInterrupt(org.jboss.msc.service.ServiceName serviceName)
serviceName
- the service name.NamingException
for the error.@Message(id=11863, value="Invalid name for context binding %s") DeploymentUnitProcessingException invalidNameForContextBinding(String name)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.