Package org.wildfly.core.launcher.logger
Interface LauncherMessages
-
- All Known Implementing Classes:
LauncherMessages_$bundle
@MessageBundle(projectCode="WFLYLNCHR", length=4) public interface LauncherMessages- Author:
- James R. Perkins
-
-
Field Summary
Fields Modifier and Type Field Description static LauncherMessagesMESSAGES
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IllegalArgumentExceptioninvalidArgument(String argument, String methodName)IllegalArgumentExceptioninvalidDirectory(String filename, Path dir)IllegalArgumentExceptioninvalidDirectory(Path dir)IllegalArgumentExceptioninvalidHostname(CharSequence hostname)IllegalArgumentExceptionnullParam(String name)IllegalArgumentExceptionpathDoesNotExist(Path path)Creates a message indicating the path does not exist.IllegalArgumentExceptionpathNotAFile(Path path)
-
-
-
Field Detail
-
MESSAGES
static final LauncherMessages MESSAGES
-
-
Method Detail
-
pathDoesNotExist
@Message(id=1, value="The path \'%s\' does not exist") IllegalArgumentException pathDoesNotExist(Path path)Creates a message indicating the path does not exist.- Parameters:
path- the path that does not exist- Returns:
- an exception for the error
-
invalidDirectory
@Message(id=2, value="The directory \'%s\' is not a valid directory") IllegalArgumentException invalidDirectory(Path dir)
-
invalidDirectory
@Message(id=3, value="Invalid directory, could not find \'%s\' in \'%s\'") IllegalArgumentException invalidDirectory(String filename, Path dir)
-
pathNotAFile
@Message(id=4, value="Path \'%s\' is not a regular file.") IllegalArgumentException pathNotAFile(Path path)
-
nullParam
@Message(id=5, value="The parameter %s cannot be null.") IllegalArgumentException nullParam(String name)
-
invalidHostname
@Message(id=6, value="Invalid hostname: %s") IllegalArgumentException invalidHostname(CharSequence hostname)
-
invalidArgument
@Message(id=7, value="The argument %s is not allowed for %s.") IllegalArgumentException invalidArgument(String argument, String methodName)
-
-