@MessageBundle(projectCode="JBAS")
public interface EmbeddedMessages
| Modifier and Type | Field and Description |
|---|---|
static EmbeddedMessages |
MESSAGES
The messages
|
| Modifier and Type | Method and Description |
|---|---|
RuntimeException |
cannotMountFile(Throwable cause,
String fileName)
Creates an exception indicating the file, represented by the
fileName parameter, could not be mounted. |
RuntimeException |
cannotReadContent(Throwable cause,
org.jboss.vfs.VirtualFile file)
Creates an exception indicating the contents of the file could not be read.
|
IllegalArgumentException |
exclusionValuesRequired()
Creates an exception indicating one or more exclusion values must be specified.
|
String |
failedToLoadLogModule(org.jboss.modules.ModuleIdentifier moduleId)
A message indicating a failure to load the specified log module.
|
IllegalStateException |
invalidJbossHome(File dir)
Creates an exception indicating the JBoss hom directory is invalid.
|
IllegalArgumentException |
invalidModulePath(File file)
Creates an exception indicating the module path is invalid.
|
RuntimeException |
invalidModuleType(String moduleName,
Class<?> type)
Creates an exception indicating the module, represented by the
moduleName parameter, was not a valid
type of File[], File, String[] or String. |
RuntimeException |
moduleLoaderError(Throwable cause,
String msg,
org.jboss.modules.ModuleLoader moduleLoader)
Creates an exception indicating there was an error in the module loader.
|
IllegalArgumentException |
nullVar(String name)
Creates an exception indicating the variable, represented by the
name parameter, is null. |
IllegalStateException |
systemPropertyNotFound(String key)
Creates an exception indicating the system property could not be found.
|
static final EmbeddedMessages MESSAGES
@Message(id=11130,
value="Could not mount file \'%s\'")
RuntimeException cannotMountFile(@Cause
Throwable cause,
String fileName)
fileName parameter, could not be mounted.cause - the cause of the error.fileName - the name of the file.RuntimeException for the error.@Message(id=11131,
value="Could not read contents of %s")
RuntimeException cannotReadContent(@Cause
Throwable cause,
org.jboss.vfs.VirtualFile file)
cause - the cause of the error.file - the file that could not be read.RuntimeException for the error.@Message(id=11132,
value="One or more exclusion values must be specified")
IllegalArgumentException exclusionValuesRequired()
IllegalArgumentException for the error.@Message(id=11133,
value="WARNING: Failed to load the specified logmodule %s")
String failedToLoadLogModule(org.jboss.modules.ModuleIdentifier moduleId)
moduleId - the module id.@Message(id=11134,
value="Invalid JBoss home directory: %s")
IllegalStateException invalidJbossHome(File dir)
dir - the invalid directory.IllegalStateException for the error.@Message(id=11135,
value="Invalid module path: %s")
IllegalArgumentException invalidModulePath(File file)
file - the invalid file.IllegalArgumentException for the error.@Message(id=11136,
value="%s was not of type File[], File, String[] or String, but of type %s")
RuntimeException invalidModuleType(String moduleName,
Class<?> type)
moduleName parameter, was not a valid
type of File[], File, String[] or String.moduleName - the name of the module.type - the type the module actually is.RuntimeException for the error.@Message(id=11137,
value="%s in %s")
RuntimeException moduleLoaderError(@Cause
Throwable cause,
String msg,
org.jboss.modules.ModuleLoader moduleLoader)
cause - the cause of the error.msg - the error message.moduleLoader - the module loader that had the error.RuntimeException for the error.@Message(id=11138,
value="%s is null")
IllegalArgumentException nullVar(String name)
name parameter, is null.name - the name of the variable.IllegalArgumentException for the error.@Message(id=11139,
value="Cannot find system property: %s")
IllegalStateException systemPropertyNotFound(String key)
key - they key to the system property.IllegalStateException for the error.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.