@MessageBundle(projectCode="JBAS")
public interface LoggingMessages
Modifier and Type | Field and Description |
---|---|
static LoggingMessages |
MESSAGES
The default messages.
|
Modifier and Type | Method and Description |
---|---|
String |
cannotAccessClass(Throwable cause,
String className)
Creates an exception indicating the class, represented by the
className parameter, cannot be accessed. |
String |
cannotAddHandlerToSelf(String handlerName)
A message indicating the handler cannot be attached to itself.
|
IllegalArgumentException |
cannotAssignNullToPrimitive(String name,
Class<?> type)
Creates an exception indicating
null cannot be assigned to a primitive property. |
IllegalArgumentException |
cannotInstantiateClass(Throwable cause,
String className,
String description,
String name)
Creates an exception indicating the class, represented by the
className parameter, could not be
instantiated. |
IllegalArgumentException |
cannotLoadModule(Throwable cause,
String moduleName,
String description,
String name)
Creates an exception indicating a failure to load the module.
|
IllegalArgumentException |
cannotSetRemovedProperty(String propertyName,
String description,
String name)
Creates an exception indicating the property cannot be set as it's been removed.
|
String |
cannotUnassignHandler(String handlerName)
A message indicating the handler, represented by the
handlerName parameter could not be unassigned as it
was not assigned. |
String |
classNotFound(Throwable cause,
String className)
Creates an exception indicating the class, represented by the
className parameter, could not be found. |
IllegalArgumentException |
errorManagerAlreadyExists(String name)
Creates an exception indicating the error manager already exists.
|
IllegalArgumentException |
errorManagerNotFound(String name)
Creates an exception indicating the error manager could not be found.
|
DeploymentUnitProcessingException |
errorProcessingLoggingConfiguration(Throwable cause)
Creates an exception indicating an error occurred while searching for logging configuration files.
|
IllegalArgumentException |
expected(String token)
Creates an exception indicating the token was expected next in the filter expression.
|
IllegalArgumentException |
expected(String trueToken,
String falseToken)
Creates an exception indicating the one or the other tokens was expected next in the filter expression.
|
IllegalArgumentException |
expectedIdentifier()
Creates an exception indicating an identifier was expected next in the filter expression.
|
IllegalArgumentException |
expectedString()
Creates an exception indicating a string was expected next in the filter expression.
|
IllegalStateException |
extensionNotInitialized()
Logs a warning message indicating the
LogManager is required and the logging
subsystem was not initialized. |
IllegalArgumentException |
extraData()
Creates an exception indicating extra data was found in the filter expression.
|
DeploymentUnitProcessingException |
failedToConfigureLogging(Throwable cause,
String fileName)
Creates an exception indicating a failure to configure logging with the configuration file represented by the
fileName parameter. |
IllegalArgumentException |
failedToLoadClass(Throwable cause,
String className,
String description,
String name)
Creates an exception indicating a failure to load the class.
|
IllegalArgumentException |
failedToLocateConstructor(Throwable cause,
String className,
String description,
String name)
Creates an exception indicating a failure to locate the constructor.
|
OperationFailedException |
failedToReadLogFile(Throwable cause,
String name)
Creates an exception indicating a failure to read the log file
|
IllegalArgumentException |
failedToSetHandlerEncoding(Throwable cause,
String encoding)
A message indicating the handler encoding failed to set.
|
RuntimeException |
failedToWriteConfigurationFile(Throwable e,
File fileName)
A message indicating a failure to write the configuration file.
|
IllegalArgumentException |
filterAlreadyExists(String name)
Creates an exception indicating the filter already exists.
|
IllegalArgumentException |
filterNotFound(String name)
Creates an exception indicating the filter could not be found.
|
IllegalArgumentException |
formatterAlreadyExists(String name)
Creates an exception indicating the formatter already exists.
|
String |
formatterNotFound(String name)
Creates an exception indicating the formatter could not be 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.
|
IllegalStateException |
handlerClosed()
An exception indicating a handler has been closed.
|
IllegalStateException |
handlerClosed(String name,
String value)
An exception indicating a property cannot be set on a closed handler.
|
String |
handlerConfigurationNotFound(String name)
A message indicating the handler configuration could not be found.
|
IllegalArgumentException |
handlerNotFound(String name)
A message indicating the handler, represented by the
name parameter, was not found. |
IllegalArgumentException |
invalidEscapeFoundInFilterExpression()
Creates an exception indicating an invalid escape was found in the filter expression string.
|
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.
|
IllegalArgumentException |
invalidProperty(String propertyName,
String description,
String name,
Class<?> type)
Creates an exception indicating no property with the name, represented by the
propertyName parameter,
was found on the type. |
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 a suffix is invalid.
|
String |
invalidTargetName(EnumSet<Target> targets)
A message indicating the target name value is invalid.
|
String |
invalidValueTypeKey(String key,
Collection<String> allowedValues)
A message indicating the value type key, represented by the
kry parameter, is invalid. |
OperationFailedException |
logFileNotFound(String name,
String directoryProperty)
Creates an exception indicating the file was found in the log directory.
|
IllegalArgumentException |
loggerAlreadyExists(String name)
Creates an exception indicating the logger already exists.
|
String |
loggerConfigurationNotFound(String name)
A message indicating the logger configuration could not be found.
|
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.
|
IllegalArgumentException |
nestedHandlersNotSupported(Class<? extends Handler> handlerClass)
Creates an exception indicating the handler does not support nested handlers.
|
IllegalArgumentException |
nullVar(String name)
Creates an exception indicating the variable, represented by the
name parameter, is null . |
IllegalStateException |
pathManagerServiceNotStarted()
Creates an exception indicating the path manager service has not been started and any changes may be lost as a
result of this.
|
IllegalArgumentException |
propertyAlreadyRemoved(String propertyName,
String description,
String name)
Creates an exception indicating the property could not be removed as it's already been removed
|
IllegalArgumentException |
propertySetterNotFound(String propertyName,
String description,
String name)
Creates an exception indicating the property has no setter method.
|
IllegalArgumentException |
propertyTypeNotFound(String propertyName,
String description,
String name)
Creates an exception indicating the property type could not be determined.
|
OperationFailedException |
readNotAllowed(String name)
Creates an exception indicating the user cannot read the file.
|
RuntimeException |
rollbackFailure(Throwable cause)
Creates an exception indicating a failure was detected while performing a rollback.
|
IllegalArgumentException |
truncatedFilterExpression()
Creates an exception indicating the filter expression string is truncated.
|
IllegalArgumentException |
unexpectedEnd()
Creates an exception indicating an unexpected end of the filter expression.
|
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. |
IllegalArgumentException |
unsupportedCharSet(String encoding)
Creates an exception indicating the character set is not supported.
|
UnsupportedOperationException |
unsupportedMethod(String methodName,
String className)
Creates an exception indicating the method on the class is not supported.
|
static final LoggingMessages MESSAGES
@Message(id=11530, value="Could not access %s.") String cannotAccessClass(@Cause Throwable cause, String className)
className
parameter, cannot be accessed.cause
- the cause of the error.className
- the name of the class.@Message(id=11531, value="Failed to instantiate class \'%s\' for %s \'%s\'") IllegalArgumentException cannotInstantiateClass(@Cause Throwable cause, String className, String description, String name)
className
parameter, could not be
instantiated.cause
- the cause of the errorclassName
- the name of the classdescription
- a descriptionname
- the name of the configurationIllegalArgumentException
for the error@Message(id=11532, value="Failed to load module \'%s\' for %s \'%s\'") IllegalArgumentException cannotLoadModule(@Cause Throwable cause, String moduleName, String description, String name)
cause
- the cause of the errormoduleName
- the name of the module that could not be loadeddescription
- a descriptionname
- the name of the configurationIllegalArgumentException
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.") String 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.@Message(id=11535, value="The encoding value \'%s\' is invalid.") IllegalArgumentException failedToSetHandlerEncoding(@Cause Throwable cause, String encoding)
cause
- the cause of the errorencoding
- the encodingIllegalArgumentException
for the error@Message(id=11536, value="Handler %s is already assigned.") String handlerAlreadyDefined(String name)
name
parameter, is already assigned.name
- the handler name.@Message(id=11537, value="Handler %s not found.") IllegalArgumentException handlerNotFound(String name)
name
parameter, was not found.name
- the handler nameIllegalArgumentException
for the error@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=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=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=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.@Message(id=11554, value="The suffix (%s) is invalid. A suffix must be a valid date format and not contain seconds or milliseconds.") String invalidSuffix(String suffix)
suffix
- the suffix.@Message(id=11555, value="Failed to configure logging using \'%s\' configuration file.") DeploymentUnitProcessingException failedToConfigureLogging(@Cause Throwable cause, String fileName)
fileName
parameter.cause
- the cause of the error.fileName
- the configuration file name.DeploymentUnitProcessingException
for the error.@Message(id=11556, value="Error occurred while searching for logging configuration files.") DeploymentUnitProcessingException errorProcessingLoggingConfiguration(@Cause Throwable cause)
cause
- the cause of the error.DeploymentUnitProcessingException
for the error.@Message(id=11557, 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(id=11558, 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=11559, value="Cannot add handler (%s) to itself") String cannotAddHandlerToSelf(String handlerName)
handlerName
- the name of the handler@Message(id=11560, value="The handler is closed, cannot publish to a closed handler") IllegalStateException handlerClosed()
IllegalStateException
for the error@Message(id=-1, value="Cannot set property \'%s\' on a closed handler with value \'%s\'.") IllegalStateException handlerClosed(String name, String value)
name
- the name of the propertyvalue
- the value of the propertyIllegalStateException
for the error@Message(id=11561, value="Configuration for handler \'%s\' could not be found.") String handlerConfigurationNotFound(String name)
name
- the name of the handler@Message(id=11562, value="Configuration for logger \'%s\' could not be found.") String loggerConfigurationNotFound(String name)
name
- the name of the logger@Message(id=11563, value="The path manager service does not appear to be started.") IllegalStateException pathManagerServiceNotStarted()
logging.properties
could not be written out and until the changes may have
been lost unless they were written to the logging subsystem in the XML configuration.IllegalStateException
for the error.@Message(id=11564, value="Method %s on class %s is not supported") UnsupportedOperationException unsupportedMethod(String methodName, String className)
methodName
- the name of the methodclassName
- the name of the classUnsupportedOperationException
for the error@Message(id=11565, value="Failed to write configuration file %s") RuntimeException failedToWriteConfigurationFile(@Cause Throwable e, File fileName)
fileName
- the name of the file@Message(id=11566, value="A failure was detecting while performing a rollback.") RuntimeException rollbackFailure(@Cause Throwable cause)
cause
- the cause of the failureRuntimeException
for the error@Message(id=11567, value="%s is null") IllegalArgumentException nullVar(String name)
name
parameter, is null
.name
- the name of the variableIllegalArgumentException
for the error@Message(id=11568, value="Failed to load class \'%s\' for %s \'%s\'") IllegalArgumentException failedToLoadClass(@Cause Throwable cause, String className, String description, String name)
cause
- the cause of the errorclassName
- the name of the class that could not be loadeddescription
- a descriptionname
- the name of the configurationIllegalArgumentException
for the error@Message(id=11569, value="No property named \'%s\' for %s \'%s\' of type \'%s\'") IllegalArgumentException invalidProperty(String propertyName, String description, String name, Class<?> type)
propertyName
parameter,
was found on the type.propertyName
- the name of the propertydescription
- a descriptionname
- the name of the configurationtype
- the type the property does not exist onIllegalArgumentException
for the error@Message(id=11570, value="Failed to locate constructor in class \"%s\" for %s \"%s\"") IllegalArgumentException failedToLocateConstructor(@Cause Throwable cause, String className, String description, String name)
cause
- the cause of the errorclassName
- the name of the class that could not be loadeddescription
- a descriptionname
- the name of the configurationIllegalArgumentException
for the error@Message(id=11571, value="Cannot set property \'%s\' on %s \'%s\' (removed)") IllegalArgumentException cannotSetRemovedProperty(String propertyName, String description, String name)
propertyName
- the name of the property that cannot be setdescription
- a descriptionname
- the name of the configurationIllegalArgumentException
for the error@Message(id=11572, value="No property \'%s\' setter found for %s \'%s\'") IllegalArgumentException propertySetterNotFound(String propertyName, String description, String name)
propertyName
- the name of the property that cannot be setdescription
- a descriptionname
- the name of the configurationIllegalArgumentException
for the error@Message(id=11573, value="No property \'%s\' type could be determined for %s \'%s\'") IllegalArgumentException propertyTypeNotFound(String propertyName, String description, String name)
propertyName
- the name of the property that cannot be setdescription
- a descriptionname
- the name of the configurationIllegalArgumentException
for the error@Message(id=11574, value="Cannot remove property \'%s\' on %s \'%s\' (removed)") IllegalArgumentException propertyAlreadyRemoved(String propertyName, String description, String name)
propertyName
- the name of the property that cannot be setdescription
- a descriptionname
- the name of the configurationIllegalArgumentException
for the error@Message(id=11575, value="Formatter \'%s\' is not found") String formatterNotFound(String name)
name
- the name of the formatterIllegalArgumentException
for the error@Message(id=11576, value="Unsupported character set \'%s\'") IllegalArgumentException unsupportedCharSet(String encoding)
encoding
- the character setIllegalArgumentException
for the error@Message(id=11577, value="Error manager \'%s\' is not found") IllegalArgumentException errorManagerNotFound(String name)
name
- the name of the error managerIllegalArgumentException
for the error@Message(id=11578, value="Nested handlers not supported for handler %s") IllegalArgumentException nestedHandlersNotSupported(Class<? extends Handler> handlerClass)
handlerClass
- the handler classIllegalArgumentException
for the error@Message(id=11579, value="Logger \'%s\' already exists") IllegalArgumentException loggerAlreadyExists(String name)
name
- the name of the loggerIllegalArgumentException
for the error@Message(id=11580, value="Formatter \'%s\' already exists") IllegalArgumentException formatterAlreadyExists(String name)
name
- the name of the formatterIllegalArgumentException
for the error@Message(id=11581, value="Filter \'%s\' already exists") IllegalArgumentException filterAlreadyExists(String name)
name
- the name of the filterIllegalArgumentException
for the error@Message(id=11582, value="ErrorManager \'%s\' already exists") IllegalArgumentException errorManagerAlreadyExists(String name)
name
- the name of the error managerIllegalArgumentException
for the error@Message(id=11583, value="Cannot assign null value to primitive property \'%s\' of %s") IllegalArgumentException cannotAssignNullToPrimitive(String name, Class<?> type)
null
cannot be assigned to a primitive property.name
- the name of the propertytype
- the typeIllegalArgumentException
for the error@Message(id=11584, value="Truncated filter expression string") IllegalArgumentException truncatedFilterExpression()
IllegalArgumentException
for the error@Message(id=11585, value="Invalid escape found in filter expression string") IllegalArgumentException invalidEscapeFoundInFilterExpression()
IllegalArgumentException
for the error@Message(id=11586, value="Filter \'%s\' is not found") IllegalArgumentException filterNotFound(String name)
name
- the name of the filterIllegalArgumentException
for the error@Message(id=11587, value="Expected identifier next in filter expression") IllegalArgumentException expectedIdentifier()
IllegalArgumentException
for the error@Message(id=11588, value="Expected string next in filter expression") IllegalArgumentException expectedString()
IllegalArgumentException
for the error@Message(id=11589, value="Expected \'%s\' next in filter expression") IllegalArgumentException expected(String token)
token
- the token expectedIllegalArgumentException
for the error@Message(id=-1, value="Expected \'%s\' or \'%s\' next in filter expression") IllegalArgumentException expected(String trueToken, String falseToken)
trueToken
- the true tokenfalseToken
- the false tokenIllegalArgumentException
for the error@Message(id=11590, value="Unexpected end of filter expression") IllegalArgumentException unexpectedEnd()
IllegalArgumentException
for the error@Message(id=11591, value="Extra data after filter expression") IllegalArgumentException extraData()
IllegalArgumentException
for the error@Message(id=11592, value="The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property \"java.util.logging.manager\" and set it to \"org.jboss.logmanager.LogManager\"") IllegalStateException extensionNotInitialized()
LogManager
is required and the logging
subsystem was not initialized.IllegalStateException
for the error@Message(id=11593, value="Failed to read the log file \'%s\'") OperationFailedException failedToReadLogFile(@Cause Throwable cause, String name)
cause
- the cause of the errorname
- the name of the file that was not foundOperationFailedException
for the error@Message(id=11594, value="File \'%s\' was not found and cannot be found in the %s directory property.") OperationFailedException logFileNotFound(String name, String directoryProperty)
name
- the name of the file that was not founddirectoryProperty
- the name of the property used to resolved the log directoryOperationFailedException
for the error@Message(id=11595, value="File \'%s\' is not allowed to be read.") OperationFailedException readNotAllowed(String name)
name
- the name of the file that was not allowed to be readOperationFailedException
for the errorCopyright © 2014 JBoss by Red Hat. All rights reserved.