@MessageBundle(projectCode="JBAS")
public interface LoggingMessages
| Modifier and Type | Field and Description |
|---|---|
static LoggingMessages |
MESSAGES
The default messages.
|
| Modifier and Type | Method and Description |
|---|---|
org.jboss.msc.service.StartException |
cannotAccessClass(Throwable cause,
String className)
Creates an exception indicating the class, represented by the
className parameter, cannot be accessed. |
org.jboss.msc.service.StartException |
cannotInstantiateClass(Throwable cause,
String className)
Creates an exception indicating the class, represented by the
className parameter, could not be
instantiated. |
org.jboss.msc.service.StartException |
cannotLoadModule(Throwable cause,
String moduleName)
Creates an exception indicating the module could not be loaded.
|
String |
cannotUnassignHandler(String handlerName)
A message indicating the handler, represented by the
handlerName parameter could not be unassigned as it
was not assigned. |
org.jboss.msc.service.StartException |
classNotFound(Throwable cause,
String className)
Creates an exception indicating the class, represented by the
className parameter, could not be found. |
String |
failedToSetHandlerEncoding()
A message indicating the handler encoding failed to set.
|
String |
fileNotFound(String fileName)
A message indicating the file was not found.
|
String |
handlerAlreadyDefined(String name)
A message indicating the handler, represented by the
name parameter, is already assigned. |
String |
handlerAttachedToHandlers(String handlerName,
Collection<String> handlers)
A message indicating the handler is attached to the handlers.
|
String |
handlerAttachedToLoggers(String handlerName,
Collection<String> loggers)
A message indicating the handler is attached to the loggers.
|
String |
handlerNotFound(String name)
A message indicating the handler, represented by the
name parameter, was not found. |
String |
invalidFilter(String name)
A message indicating the filter is invalid.
|
String |
invalidLogLevel(String level)
A message indicating the log level, represented by the
level parameter, is invalid. |
String |
invalidOverflowAction(String overflowAction)
A message indicating the overflow action, represented by the
overflowAction parameter, is invalid. |
String |
invalidPath(String relativeTo,
String path)
A message indicating an absolute path cannot be used when a relative-to path is being used.
|
String |
invalidRelativeTo(String relativeTo)
A message indicating an absolute path cannot be specified for relative-to.
|
String |
invalidSize(String size)
A message indicating the size is invalid.
|
String |
invalidSuffix(String suffix)
A message indicating an suffix is invalid.
|
String |
invalidTargetName(EnumSet<Target> targets)
A message indicating the target name value is invalid.
|
org.jboss.msc.service.StartException |
invalidType(String className,
Class<?> type)
Creates an exception indicating the class, represented by the
className parameter, is not subclass of
the type. |
String |
invalidType(String name,
org.jboss.dmr.ModelType validType,
org.jboss.dmr.ModelType foundType)
A message indicating the attribute, represented by the
name parameter, is not a valid type. |
String |
invalidValueTypeKey(String key,
Collection<String> allowedValues)
A message indicating the value type key, represented by the
kry parameter, is invalid. |
String |
loggerNotFound(String name)
A message indicating the logger, represented by the
name parameter was not found. |
String |
missingRequiredNestedFilterElement()
A message indicating the required nested filter element is missing.
|
String |
serviceNotFound(org.jboss.msc.service.ServiceName name)
A message indicating the service was not found.
|
IllegalStateException |
serviceNotStarted()
Creates an exception indicating the service has not yet been started.
|
IllegalArgumentException |
unknownParameterType(Class<?> type,
String propertyName,
Class<?> clazz)
Creates an exception indicating an unknown parameter type, represented by the
type parameter, for the
property represented by the propertyName parameter on the class. |
static final LoggingMessages MESSAGES
@Message(id=11530,
value="Could not access %s.")
org.jboss.msc.service.StartException cannotAccessClass(@Cause
Throwable cause,
String className)
className parameter, cannot be accessed.cause - the cause of the error.className - the name of the class.StartException for the error.@Message(id=11531,
value="Could not instantiate %s.")
org.jboss.msc.service.StartException cannotInstantiateClass(@Cause
Throwable cause,
String className)
className parameter, could not be
instantiated.cause - the cause of the error.className - the name of the class.StartException for the error.@Message(id=11532,
value="Could not load module %s.")
org.jboss.msc.service.StartException cannotLoadModule(@Cause
Throwable cause,
String moduleName)
cause - the cause of the error.moduleName - the name of the module that could not be loaded.StartException for the error@Message(id=11533,
value="Can not unassign handler. Handler %s is not assigned.")
String cannotUnassignHandler(String handlerName)
handlerName parameter could not be unassigned as it
was not assigned.handlerName - the handler name.@Message(id=11534,
value="Class \'%s\' could not be found.")
org.jboss.msc.service.StartException classNotFound(@Cause
Throwable cause,
String className)
className parameter, could not be found.cause - the cause of the error.className - the name of the class that could not be found.StartException for the error.@Message(id=11535,
value="Failed to set handler encoding.")
String failedToSetHandlerEncoding()
@Message(id=11536,
value="Handler %s is already assigned.")
String handlerAlreadyDefined(String name)
name parameter, is already assigned.name - the handler name.@Message(value="Handler %s is attached to the following handlers and cannot be removed; %s") String handlerAttachedToHandlers(String handlerName, Collection<String> handlers)
handlerName - the name of tha attached handler.handlers - a collection of the handler names.@Message(value="Handler %s is attached to the following loggers and cannot be removed; %s") String handlerAttachedToLoggers(String handlerName, Collection<String> loggers)
handlerName - the name of tha attached handler.loggers - a collection of the logger names.@Message(id=11537,
value="Handler %s not found.")
String handlerNotFound(String name)
name parameter, was not found.name - the handler name.@Message(id=11538,
value="Filter %s is invalid")
String invalidFilter(String name)
name - the name of the filter.@Message(id=11539,
value="Log level %s is invalid.")
String invalidLogLevel(String level)
level parameter, is invalid.level - the invalid level.@Message(id=11540,
value="Overflow action %s is invalid.")
String invalidOverflowAction(String overflowAction)
overflowAction parameter, is invalid.overflowAction - the invalid overflow action.@Message(id=11541,
value="Invalid size %s")
String invalidSize(String size)
size - the size.@Message(id=11542,
value="Invalid value for target name. Valid names include: %s")
String invalidTargetName(EnumSet<Target> targets)
targets - a collection of valid target names.@Message(id=11543,
value="\'%s\' is not a valid %s.")
org.jboss.msc.service.StartException invalidType(String className,
Class<?> type)
className parameter, is not subclass of
the type.className - the class name.type - the type the class name should be a subtype of.StartException for the error.@Message(id=11549,
value="\'%s\' is not a valid %s, found type %s.")
String invalidType(String name,
org.jboss.dmr.ModelType validType,
org.jboss.dmr.ModelType foundType)
name parameter, is not a valid type.name - the name of the attributevalidType - the valid model type.foundType - the type found.@Message(id=11544,
value="Value type key \'%s\' is invalid. Valid value type keys are; %s")
String invalidValueTypeKey(String key,
Collection<String> allowedValues)
kry parameter, is invalid.key - the key.allowedValues - a collection of allowed values.@Message(id=11548,
value="Logger \'%s\' was not found.")
String loggerNotFound(String name)
name parameter was not found.name - the name of the missing logger.@Message(id=11545,
value="Missing required nested filter element")
String missingRequiredNestedFilterElement()
@Message(id=11546,
value="Service not started")
IllegalStateException serviceNotStarted()
IllegalArgumentException for the error.@Message(id=11547,
value="Unknown parameter type (%s) for property \'%s\' on \'%s\'")
IllegalArgumentException unknownParameterType(Class<?> type,
String propertyName,
Class<?> clazz)
type parameter, for the
property represented by the propertyName parameter on the class.type - the parameter type.propertyName - the name of the property.clazz - the class the property with the type could not found on.IllegalArgumentException for the error.@Message(id=11550,
value="File \'%s\' was not found.")
String fileNotFound(String fileName)
fileName - the file name that was not found.@Message(id=11551,
value="Service \'%s\' was not found.")
String serviceNotFound(org.jboss.msc.service.ServiceName name)
name - the name of the service.@Message(id=11552,
value="An absolute path (%s) cannot be specified for relative-to.")
String invalidRelativeTo(String relativeTo)
relativeTo - the invalid absolute path.@Message(id=11553,
value="An absolute path (%2$s) cannot be used when a relative-to path (%1$s) is being used.")
String invalidPath(String relativeTo,
String path)
relativeTo - the relative path.path - absolute path.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.