Package org.jboss.as.process.logging
Interface ProcessLogger
-
- All Superinterfaces:
org.jboss.logging.BasicLogger
- All Known Implementing Classes:
ProcessLogger_$logger
@MessageLogger(projectCode="WFLYPC", length=4) public interface ProcessLogger extends org.jboss.logging.BasicLoggerDate: 29.06.2011- Author:
- James R. Perkins, Richard Opalka
-
-
Field Summary
Fields Modifier and Type Field Description static ProcessLoggerCLIENT_LOGGERA logger with the categoryorg.jboss.as.process-controller.client.static ProcessLoggerPROTOCOL_CLIENT_LOGGERA logger with the categoryorg.jboss.as.process.protocol.clientstatic ProcessLoggerPROTOCOL_CONNECTION_LOGGERA logger with the categoryorg.jboss.as.process.protocol.clientstatic ProcessLoggerPROTOCOL_LOGGERA logger with the categoryorg.jboss.as.process.protocolstatic ProcessLoggerROOT_LOGGERThe root logger with a category of the package.static ProcessLoggerSERVER_LOGGERA logger with the categoryorg.jboss.as.process-controller.server.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringargAdminOnly()Instructions for theCommandLineConstants.ADMIN_ONLYcommand line argument.StringargBackup()Instructions for theCommandLineConstants.BACKUP_DCcommand line argument.StringargCachedDc()Instructions for theCommandLineConstants.CACHED_DCcommand line argument.StringargDefaultMulticastAddress()Instructions for theCommandLineConstants.DEFAULT_MULTICAST_ADDRESScommand line argument.StringargDomainConfig()Instructions for theCommandLineConstants.DOMAIN_CONFIGcommand line arguments.StringargHelp()Instructions for theCommandLineConstants.SHORT_HELPorCommandLineConstants.HELPcommand line argument.StringargHostConfig()Instructions for theCommandLineConstants.HOST_CONFIGcommand line argument.StringargInterfaceBindAddress()Instructions for the-b<interface></interface>command line argument.StringargInterProcessHcAddress()Instructions for theCommandLineConstants.INTERPROCESS_HC_ADDRESScommand line argument.StringargInterProcessHcPort()Instructions for theCommandLineConstants.INTERPROCESS_HC_PORTcommand line argument.StringargMasterAddress()Instructions for theCommandLineConstants.PRIMARY_ADDRESScommand line argument.StringargMasterPort()Instructions for theCommandLineConstants.PRIMARY_PORTcommand line argument.StringargPcAddress()Instructions for theCommandLineConstants.PROCESS_CONTROLLER_BIND_ADDRcommand line argument.StringargPcPort()Instructions for theCommandLineConstants.PROCESS_CONTROLLER_BIND_PORTcommand line argument.StringargProperties()Instructions for theCommandLineConstants.SHORT_PROPERTIESorCommandLineConstants.PROPERTIEScommand line argument.StringargPublicBindAddress()Instructions for theCommandLineConstants.PUBLIC_BIND_ADDRESScommand line argument.StringargReadOnlyDomainConfig()Instructions for theCommandLineConstants.READ_ONLY_DOMAIN_CONFIGcommand line arguments.StringargReadOnlyHostConfig()Instructions for theCommandLineConstants.READ_ONLY_HOST_CONFIGcommand line argument.StringargSecMgr()Instructions for theCommandLineConstants.SECMGRcommand line argument.StringargShortDomainConfig()Instructions for theCommandLineConstants.SHORT_DOMAIN_CONFIGcommand line arguments.StringargStability(Set<Stability> stabilities, Stability defaultStability)Instructions for theCommandLineConstants.STABILITYcommand line argument.StringargSystem()Instructions for theCommandLineConstants.SYS_PROPcommand line argument.StringargUsage(String executableName)StringargVersion()Instructions for theCommandLineConstants.SHORT_VERSION,CommandLineConstants.OLD_SHORT_VERSIONorCommandLineConstants.VERSIONcommand line argument.voidattemptingToKillProcess(String process, long timeout)voidattemptToReconnectNonExistentProcess(String processName)Logs a warning message indicating an attempt to reconnect a non-existent process.voidattemptToRemoveNonExistentProcess(String processName)Logs a warning message indicating an attempt to remove a non-existent process.voidattemptToStartNonExistentProcess(String processName)Logs a warning message indicating an attempt to start a non-existent process.voidattemptToStopNonExistentProcess(String processName)Logs a warning message indicating an attempt to stop a non-existent process.voiddestroyingProcess(String process, long timeout)voidduplicateProcessName(String processName)Logs a warning message indicating an attempt to register a duplicate named process.voidfailedToAcceptConnection(Throwable cause)Logs an error message indicating a failure to accept the connection.voidfailedToCloseResource(Throwable cause, Object resource)Logs an error message indicating a failure to close the resource.voidfailedToCloseServerSocket(Throwable cause, ServerSocket socket)Logs an error message indicating a failure to close the server socket.voidfailedToCloseSocket(Throwable cause)Logs an error message indicating a failure to close the socket.IOExceptionfailedToCreateServerThread()Creates an exception indicating a failure to create the server thread.voidfailedToHandleIncomingConnection(Throwable cause)Logs an error message indicating a failure to handle the incoming connection.voidfailedToHandleSocketFailure(Throwable cause)Logs an error messaged indicating a failure to handle the socket failure condition.voidfailedToHandleSocketFinished(Throwable cause)Logs an error messaged indicating a failure to handle the socket finished condition.voidfailedToHandleSocketShutdown(Throwable cause)Logs an error messaged indicating a failure to handle the socket shut down condition.voidfailedToKillProcess(String process)voidfailedToReadMessage(Throwable cause)Logs an error message indicating a failure to read a message.IOExceptionfailedToReadObject(Throwable cause)Creates an exception indicating a failure to read the object.voidfailedToSendAuthKey(String processName, Throwable error)Logs a warning message indicating the authentication key failed to send to the process.voidfailedToSendDataBytes(Throwable cause, String processName)Logs an error message indicating the data bytes failed to send to the process input stream.voidfailedToSendReconnect(Throwable cause, String processName)Logs an error message indicating the reconnect message failed to send to the process input stream.voidfailedToStartProcess(Throwable cause, String processName)Logs an error message indicating the process failed to start.voidfailedToWriteMessage(String messageType, Throwable t)Logs an error message indicating a failure to write a message to the connection.IllegalArgumentExceptioninvalidAuthKeyLen()Creates an exception indicating the authentication key must be 16 bytes long.UTFDataFormatExceptioninvalidByte()Creates an exception indicating an invalid byte.UTFDataFormatExceptioninvalidByte(char c, int i)Creates an exception indicating an invalid byte.IOExceptioninvalidByteToken(int expected, byte actual)Creates an exception indicating an invalid byte token was found.IOExceptioninvalidCommandByte(int commandByte)Creates an exception indicating an invalid command byte was read.IllegalArgumentExceptioninvalidLength(String parameterName)Creates an exception indicating the parameter has an invalid length.IllegalArgumentExceptioninvalidOption(String option)Creates an exception indicating the option, represented by theoptionparameter, is invalid.IOExceptioninvalidStartChunk(int chunk)Creates an exception indicating an invalid start chunk was found.voidjpsCommandNotFound(String process)voidleakedMessageOutputStream()Logs a warning message indicating the leakage of the message outout stream.voidmultipleProcessesFound(String process)StringnoArgValue(String argument)Error message indicating no value was provided for a command line argument.IllegalArgumentExceptionnullCommandComponent()Creates an exception indicating a command contains anullcomponent.voidprocessFinished(String processName, int exitCode)Logs an informational message indicating the process has finished with the exit status code.voidprocessNotFound(String process)EOFExceptionreadBytes(int bytesRead)Creates an exception indicating the number of bytes read.voidreceivedInvalidVersion(InetAddress address)Logs a warning message indicating a connection with an invalid version from the address, represented by theaddressparameter, was received.voidreceivedUnknownCredentials(InetAddress address)Logs a warning message indicating unknown credentials were received by the address, represented by theaddressparameter.voidreceivedUnknownGreetingCode(int code, InetAddress address)Logs a warning message indicating an unknown greeting code, represented by thecodeparameter, was received by the address, represented by theaddressparameter.voidreceivedUnknownMessageCode(int code)Logs a warning message indicating an unknown message with the code, represented by thecodeparameter, was received.voidshutdownComplete()Logs an informational message indicating the process controller shutdown is complete.voidshuttingDown()Logs an informational message indicating the process controller is shutting down.voidstartingProcess(String processName)Logs an informational message indicating the process is starting.voidstoppingProcess(String processName)Logs an informational message indicating the process is stopping.IOExceptionstreamClosed()Creates an exception indicating the stream is closed.voidstreamProcessingFailed(String processName, Throwable error)Logs an error message indicating the stream processing failed for the process.IllegalStateExceptionthreadCreationRefused()Creates an exception indicating the thread creation was refused.EOFExceptionunexpectedEndOfStream()Creates an exception indicating an unexpected end of stream was detected.voidwaitingToRestart(int seconds, String processName)Logs an informational message that the respawn is waiting until another attempt is made to restart the process.IOExceptionwriteChannelClosed()Creates an exception indicating the write channel is closed.IOExceptionwritesAlreadyShutdown()Creates an exception indicating the writes have already been shutdown.-
Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
-
-
-
-
Field Detail
-
ROOT_LOGGER
static final ProcessLogger ROOT_LOGGER
The root logger with a category of the package.
-
CLIENT_LOGGER
static final ProcessLogger CLIENT_LOGGER
A logger with the categoryorg.jboss.as.process-controller.client.
-
PROTOCOL_LOGGER
static final ProcessLogger PROTOCOL_LOGGER
A logger with the categoryorg.jboss.as.process.protocol
-
PROTOCOL_CLIENT_LOGGER
static final ProcessLogger PROTOCOL_CLIENT_LOGGER
A logger with the categoryorg.jboss.as.process.protocol.client
-
PROTOCOL_CONNECTION_LOGGER
static final ProcessLogger PROTOCOL_CONNECTION_LOGGER
A logger with the categoryorg.jboss.as.process.protocol.client
-
SERVER_LOGGER
static final ProcessLogger SERVER_LOGGER
A logger with the categoryorg.jboss.as.process-controller.server.
-
-
Method Detail
-
attemptToReconnectNonExistentProcess
@LogMessage(level=WARN) @Message(id=1, value="Attempted to reconnect non-existent process \'%s\'") void attemptToReconnectNonExistentProcess(String processName)Logs a warning message indicating an attempt to reconnect a non-existent process.- Parameters:
processName- the name of the process.
-
attemptToRemoveNonExistentProcess
@LogMessage(level=WARN) @Message(id=2, value="Attempted to remove non-existent process \'%s\'") void attemptToRemoveNonExistentProcess(String processName)Logs a warning message indicating an attempt to remove a non-existent process.- Parameters:
processName- the name of the process.
-
attemptToStartNonExistentProcess
@LogMessage(level=WARN) @Message(id=3, value="Attempted to start non-existent process \'%s\'") void attemptToStartNonExistentProcess(String processName)Logs a warning message indicating an attempt to start a non-existent process.- Parameters:
processName- the name of the process.
-
attemptToStopNonExistentProcess
@LogMessage(level=WARN) @Message(id=4, value="Attempted to stop non-existent process \'%s\'") void attemptToStopNonExistentProcess(String processName)Logs a warning message indicating an attempt to stop a non-existent process.- Parameters:
processName- the name of the process.
-
duplicateProcessName
@LogMessage(level=WARN) @Message(id=5, value="Attempted to register duplicate named process \'%s\'") void duplicateProcessName(String processName)Logs a warning message indicating an attempt to register a duplicate named process.- Parameters:
processName- the duplicate name.
-
failedToSendAuthKey
@LogMessage(level=WARN) @Message(id=6, value="Failed to send authentication key to process \'%s\': %s") void failedToSendAuthKey(String processName, Throwable error)Logs a warning message indicating the authentication key failed to send to the process.- Parameters:
processName- the process name.error- th error.
-
failedToSendDataBytes
@LogMessage(level=ERROR) @Message(id=7, value="Failed to send data bytes to process \'%s\' input stream") void failedToSendDataBytes(@Cause Throwable cause, String processName)Logs an error message indicating the data bytes failed to send to the process input stream.- Parameters:
cause- the cause of the error.processName- the process name.
-
failedToSendReconnect
@LogMessage(level=ERROR) @Message(id=8, value="Failed to send reconnect message to process \'%s\' input stream") void failedToSendReconnect(@Cause Throwable cause, String processName)Logs an error message indicating the reconnect message failed to send to the process input stream.- Parameters:
cause- the cause of the error.processName- the process name.
-
failedToStartProcess
@LogMessage(level=ERROR) @Message(id=9, value="Failed to start process \'%s\'") void failedToStartProcess(@Cause Throwable cause, String processName)Logs an error message indicating the process failed to start.- Parameters:
processName- the process name.
-
failedToWriteMessage
@LogMessage(level=ERROR) @Message(id=10, value="Failed to write %s message to connection: %s") void failedToWriteMessage(String messageType, Throwable t)Logs an error message indicating a failure to write a message to the connection.- Parameters:
messageType- the type of the message that failed to write.t- the cause of the error.
-
processFinished
@LogMessage(level=INFO) @Message(id=11, value="Process \'%s\' finished with an exit status of %d") void processFinished(String processName, int exitCode)Logs an informational message indicating the process has finished with the exit status code.- Parameters:
processName- the process name.exitCode- the exit code.
-
receivedInvalidVersion
@LogMessage(level=WARN) @Message(id=12, value="Received connection with invalid version from %s") void receivedInvalidVersion(InetAddress address)Logs a warning message indicating a connection with an invalid version from the address, represented by theaddressparameter, was received.- Parameters:
address- the address.
-
receivedUnknownGreetingCode
@LogMessage(level=WARN) @Message(id=13, value="Received unrecognized greeting code 0x%02x from %s") void receivedUnknownGreetingCode(int code, InetAddress address)Logs a warning message indicating an unknown greeting code, represented by thecodeparameter, was received by the address, represented by theaddressparameter.- Parameters:
code- the unknown code.address- the address
-
receivedUnknownCredentials
@LogMessage(level=WARN) @Message(id=14, value="Received connection with unknown credentials from %s") void receivedUnknownCredentials(InetAddress address)Logs a warning message indicating unknown credentials were received by the address, represented by theaddressparameter.- Parameters:
address- the address
-
receivedUnknownMessageCode
@LogMessage(level=WARN) @Message(id=15, value="Received unknown message with code 0x%02x") void receivedUnknownMessageCode(int code)Logs a warning message indicating an unknown message with the code, represented by thecodeparameter, was received.- Parameters:
code- the unknown code.
-
shutdownComplete
@LogMessage(level=INFO) @Message(id=16, value="All processes finished; exiting") void shutdownComplete()Logs an informational message indicating the process controller shutdown is complete.
-
shuttingDown
@LogMessage(level=INFO) @Message(id=17, value="Shutting down process controller") void shuttingDown()Logs an informational message indicating the process controller is shutting down.
-
startingProcess
@LogMessage(level=INFO) @Message(id=18, value="Starting process \'%s\'") void startingProcess(String processName)Logs an informational message indicating the process is starting.- Parameters:
processName- the process name.
-
stoppingProcess
@LogMessage(level=INFO) @Message(id=19, value="Stopping process \'%s\'") void stoppingProcess(String processName)Logs an informational message indicating the process is stopping.- Parameters:
processName- the process name.
-
streamProcessingFailed
@LogMessage(level=ERROR) @Message(id=20, value="Stream processing failed for process \'%s\': %s") void streamProcessingFailed(String processName, Throwable error)Logs an error message indicating the stream processing failed for the process.- Parameters:
processName- the process name.error- the error.
-
waitingToRestart
@LogMessage(level=INFO) @Message(id=21, value="Waiting %d seconds until trying to restart process %s.") void waitingToRestart(int seconds, String processName)Logs an informational message that the respawn is waiting until another attempt is made to restart the process.- Parameters:
seconds- the secondsprocessName- the process name
-
failedToKillProcess
@LogMessage(level=WARN) @Message(id=22, value="Failed to kill process \'%s\', trying to destroy the process instead.") void failedToKillProcess(String process)
-
argUsage
@Message(id=0, value="Usage: %s [args...]%nwhere args include:") String argUsage(String executableName)
-
argBackup
@Message(id=0, value="Keep a copy of the persistent domain configuration even if this host is not the Domain Controller. If ignore-unused-configuration is unset in host.xml, then the complete domain configuration will be stored, otherwise the configured value of ignore-unused-configuration will be used.") String argBackup()Instructions for theCommandLineConstants.BACKUP_DCcommand line argument.- Returns:
- the message.
-
argCachedDc
@Message(id=0, value="If this host is not the Domain Controller and cannot contact the Domain Controller at boot, a locally cached copy of the domain configuration is used for boot (if available, see --backup.) The Domain Controller is background polled until it becomes available. Note that starting a host with --cached-dc when the Domain Controller is available will cache a copy of the domain configuration even if --backup is not used.") String argCachedDc()Instructions for theCommandLineConstants.CACHED_DCcommand line argument.- Returns:
- the message.
-
argDomainConfig
@Message(id=0, value="Name of the domain configuration file to use (default is \"domain.xml\") (Same as -c)") String argDomainConfig()Instructions for theCommandLineConstants.DOMAIN_CONFIGcommand line arguments.- Returns:
- the message.
-
argShortDomainConfig
@Message(id=0, value="Name of the domain configuration file to use (default is \"domain.xml\") (Same as --domain-config)") String argShortDomainConfig()Instructions for theCommandLineConstants.SHORT_DOMAIN_CONFIGcommand line arguments.- Returns:
- the message.
-
argReadOnlyDomainConfig
@Message(id=0, value="Name of the domain configuration file to use. This differs from \'--domain-config\', \'-c\' and \'-domain-config\' in that the initial file is never overwritten.") String argReadOnlyDomainConfig()Instructions for theCommandLineConstants.READ_ONLY_DOMAIN_CONFIGcommand line arguments.- Returns:
- the message.
-
argHelp
@Message(id=0, value="Display this message and exit") String argHelp()Instructions for theCommandLineConstants.SHORT_HELPorCommandLineConstants.HELPcommand line argument.- Returns:
- the message.
-
argInterProcessHcAddress
@Message(id=0, value="Address on which the host controller should listen for communication from the process controller") String argInterProcessHcAddress()Instructions for theCommandLineConstants.INTERPROCESS_HC_ADDRESScommand line argument.- Returns:
- the message.
-
argInterProcessHcPort
@Message(id=0, value="Port on which the host controller should listen for communication from the process controller") String argInterProcessHcPort()Instructions for theCommandLineConstants.INTERPROCESS_HC_PORTcommand line argument.- Returns:
- the message.
-
argHostConfig
@Message(id=0, value="Name of the host configuration file to use (default is \"host.xml\")") String argHostConfig()Instructions for theCommandLineConstants.HOST_CONFIGcommand line argument.- Returns:
- the message.
-
argReadOnlyHostConfig
@Message(id=0, value="Name of the host configuration file to use. This differs from \'--host-config\' in that the initial file is never overwritten.") String argReadOnlyHostConfig()Instructions for theCommandLineConstants.READ_ONLY_HOST_CONFIGcommand line argument.- Returns:
- the message.
-
argPcAddress
@Message(id=0, value="Address on which the process controller listens for communication from processes it controls") String argPcAddress()Instructions for theCommandLineConstants.PROCESS_CONTROLLER_BIND_ADDRcommand line argument.- Returns:
- the message.
-
argPcPort
@Message(id=0, value="Port on which the process controller listens for communication from processes it controls") String argPcPort()Instructions for theCommandLineConstants.PROCESS_CONTROLLER_BIND_PORTcommand line argument.- Returns:
- the message.
-
argProperties
@Message(id=0, value="Load system properties from the given url") String argProperties()Instructions for theCommandLineConstants.SHORT_PROPERTIESorCommandLineConstants.PROPERTIEScommand line argument.- Returns:
- the message.
-
argSystem
@Message(id=0, value="Set a system property") String argSystem()Instructions for theCommandLineConstants.SYS_PROPcommand line argument.- Returns:
- the message.
-
argVersion
@Message(id=0, value="Print version and exit") String argVersion()Instructions for theCommandLineConstants.SHORT_VERSION,CommandLineConstants.OLD_SHORT_VERSIONorCommandLineConstants.VERSIONcommand line argument.- Returns:
- the message.
-
argPublicBindAddress
@Message(id=0, value="Set system property jboss.bind.address to the given value") String argPublicBindAddress()Instructions for theCommandLineConstants.PUBLIC_BIND_ADDRESScommand line argument.- Returns:
- the message.
-
argInterfaceBindAddress
@Message(id=0, value="Set system property jboss.bind.address.<interface> to the given value") String argInterfaceBindAddress()Instructions for the-b<interface></interface>command line argument.- Returns:
- the message.
-
argDefaultMulticastAddress
@Message(id=0, value="Set system property jboss.default.multicast.address to the given value") String argDefaultMulticastAddress()Instructions for theCommandLineConstants.DEFAULT_MULTICAST_ADDRESScommand line argument.- Returns:
- the message.
-
argAdminOnly
@Message(id=0, value="Set the host controller\'s running type to ADMIN_ONLY causing it to open administrative interfaces and accept management requests but not start servers or, if this host controller is the primary for the domain, accept incoming connections from secondary host controllers.") String argAdminOnly()Instructions for theCommandLineConstants.ADMIN_ONLYcommand line argument.- Returns:
- the message.
-
argMasterAddress
@Message(id=0, value="Set system property jboss.domain.primary.address to the given value. In a default secondary Host Controller config, this is used to configure the address of the primary Host Controller.") String argMasterAddress()Instructions for theCommandLineConstants.PRIMARY_ADDRESScommand line argument.- Returns:
- the message.
-
argMasterPort
@Message(id=0, value="Set system property jboss.domain.primary.port to the given value. In a default secondary Host Controller config, this is used to configure the port used for native management communication by the primary Host Controller.") String argMasterPort()Instructions for theCommandLineConstants.PRIMARY_PORTcommand line argument.- Returns:
- the message.
-
argSecMgr
@Message(id=0, value="Runs the server with a security manager installed.") String argSecMgr()Instructions for theCommandLineConstants.SECMGRcommand line argument.- Returns:
- the message
-
argStability
@Message(id=0, value="Runs the server using a specific stability level. Possible values: %s, Default = %s") String argStability(Set<Stability> stabilities, Stability defaultStability)Instructions for theCommandLineConstants.STABILITYcommand line argument.- Returns:
- the message
-
noArgValue
@Message(id=23, value="No value was provided for argument %s") String noArgValue(String argument)Error message indicating no value was provided for a command line argument.- Parameters:
argument- the name of the argument- Returns:
- the message.
-
invalidAuthKeyLen
@Message(id=25, value="Authentication key must be 24 bytes long") IllegalArgumentException invalidAuthKeyLen()Creates an exception indicating the authentication key must be 16 bytes long.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
invalidLength
@Message(id=29, value="%s length is invalid") IllegalArgumentException invalidLength(String parameterName)Creates an exception indicating the parameter has an invalid length.- Parameters:
parameterName- the parameter name.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
invalidOption
@Message(id=30, value="Invalid option: %s") IllegalArgumentException invalidOption(String option)Creates an exception indicating the option, represented by theoptionparameter, is invalid.- Parameters:
option- the invalid option.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
nullCommandComponent
@Message(id=31, value="Command contains a null component") IllegalArgumentException nullCommandComponent()Creates an exception indicating a command contains anullcomponent.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
failedToAcceptConnection
@LogMessage(level=ERROR) @Message(id=33, value="Failed to accept a connection") void failedToAcceptConnection(@Cause Throwable cause)Logs an error message indicating a failure to accept the connection.- Parameters:
cause- the cause of the error.
-
failedToCloseResource
@LogMessage(level=ERROR) @Message(id=34, value="Failed to close resource %s") void failedToCloseResource(@Cause Throwable cause, Object resource)Logs an error message indicating a failure to close the resource.- Parameters:
cause- the cause of the error.resource- the resource.
-
failedToCloseServerSocket
@LogMessage(level=ERROR) @Message(id=35, value="Failed to close the server socket %s") void failedToCloseServerSocket(@Cause Throwable cause, ServerSocket socket)Logs an error message indicating a failure to close the server socket.- Parameters:
cause- the cause of the error.socket- the server socket.
-
failedToCloseSocket
@LogMessage(level=ERROR) @Message(id=36, value="Failed to close a socket") void failedToCloseSocket(@Cause Throwable cause)Logs an error message indicating a failure to close the socket.- Parameters:
cause- the cause of the error.
-
failedToHandleIncomingConnection
@LogMessage(level=ERROR) @Message(id=39, value="Failed to handle incoming connection") void failedToHandleIncomingConnection(@Cause Throwable cause)Logs an error message indicating a failure to handle the incoming connection.- Parameters:
cause- the cause of the error.
-
failedToHandleSocketFailure
@LogMessage(level=ERROR) @Message(id=40, value="Failed to handle socket failure condition") void failedToHandleSocketFailure(@Cause Throwable cause)Logs an error messaged indicating a failure to handle the socket failure condition.- Parameters:
cause- the cause of the error.
-
failedToHandleSocketFinished
@LogMessage(level=ERROR) @Message(id=41, value="Failed to handle socket finished condition") void failedToHandleSocketFinished(@Cause Throwable cause)Logs an error messaged indicating a failure to handle the socket finished condition.- Parameters:
cause- the cause of the error.
-
failedToHandleSocketShutdown
@LogMessage(level=ERROR) @Message(id=42, value="Failed to handle socket shut down condition") void failedToHandleSocketShutdown(@Cause Throwable cause)Logs an error messaged indicating a failure to handle the socket shut down condition.- Parameters:
cause- the cause of the error.
-
failedToReadMessage
@LogMessage(level=ERROR) @Message(id=43, value="Failed to read a message") void failedToReadMessage(@Cause Throwable cause)Logs an error message indicating a failure to read a message.- Parameters:
cause- the cause of the error.
-
leakedMessageOutputStream
@LogMessage(level=WARN) @Message(id=44, value="Leaked a message output stream; cleaning") void leakedMessageOutputStream()Logs a warning message indicating the leakage of the message outout stream.
-
failedToCreateServerThread
@Message(id=45, value="Failed to create server thread") IOException failedToCreateServerThread()Creates an exception indicating a failure to create the server thread.- Returns:
- an
IOExceptionfor the error.
-
failedToReadObject
@Message(id=46, value="Failed to read object") IOException failedToReadObject(@Cause Throwable cause)Creates an exception indicating a failure to read the object.- Parameters:
cause- the cause of the error.- Returns:
- an
IOExceptionfor the error.
-
invalidByte
@Message(id=47, value="Invalid byte") UTFDataFormatException invalidByte()Creates an exception indicating an invalid byte.- Returns:
- an
UTFDataFormatExceptionfor the error.
-
invalidByte
@Message(id=48, value="Invalid byte:%s(%d)") UTFDataFormatException invalidByte(char c, int i)Creates an exception indicating an invalid byte.- Parameters:
c- the character.i- the raw integer.- Returns:
- an
UTFDataFormatExceptionfor the error.
-
invalidByteToken
@Message(id=49, value="Invalid byte token. Expecting \'%s\' received \'%s\'") IOException invalidByteToken(int expected, byte actual)Creates an exception indicating an invalid byte token was found.- Parameters:
expected- the expected value.actual- the actual value.- Returns:
- an
IOExceptionfor the error.
-
invalidCommandByte
@Message(id=50, value="Invalid command byte read: %s") IOException invalidCommandByte(int commandByte)Creates an exception indicating an invalid command byte was read.- Parameters:
commandByte- the command byte read.- Returns:
- an
IOExceptionfor the error.
-
invalidStartChunk
@Message(id=51, value="Invalid start chunk start [%s]") IOException invalidStartChunk(int chunk)Creates an exception indicating an invalid start chunk was found.- Parameters:
chunk- the start chunk.- Returns:
- an
IOExceptionfor the error.
-
readBytes
@Message(id=56, value="Read %d bytes.") EOFException readBytes(int bytesRead)Creates an exception indicating the number of bytes read.- Parameters:
bytesRead- the number of bytes read.- Returns:
- an
EOFExceptionfor the error.
-
streamClosed
@Message(id=58, value="Stream closed") IOException streamClosed()Creates an exception indicating the stream is closed.- Returns:
- an
IOExceptionfor the error.
-
threadCreationRefused
@Message(id=59, value="Thread creation was refused") IllegalStateException threadCreationRefused()Creates an exception indicating the thread creation was refused.- Returns:
- an
IllegalStateExceptionfor the error.
-
unexpectedEndOfStream
@Message(id=60, value="Unexpected end of stream") EOFException unexpectedEndOfStream()Creates an exception indicating an unexpected end of stream was detected.- Returns:
- an
EOFExceptionfor the error.
-
writeChannelClosed
@Message(id=61, value="Write channel closed") IOException writeChannelClosed()Creates an exception indicating the write channel is closed.- Returns:
- an
IOExceptionfor the error.
-
writesAlreadyShutdown
@Message(id=62, value="Writes are already shut down") IOException writesAlreadyShutdown()Creates an exception indicating the writes have already been shutdown.- Returns:
- an
IOExceptionfor the error.
-
attemptingToKillProcess
@LogMessage(level=INFO) @Message(id=63, value="Process \'%s\' did not complete normal stop within %d ms; attempting to kill process using OS calls") void attemptingToKillProcess(String process, long timeout)
-
jpsCommandNotFound
@LogMessage(level=INFO) @Message(id=64, value="Cannot locate process \'%s\' -- could not find the \'jps\' command") void jpsCommandNotFound(String process)
-
processNotFound
@LogMessage(level=INFO) @Message(id=65, value="No process identifiable as \'%s\' could be found") void processNotFound(String process)
-
multipleProcessesFound
@LogMessage(level=INFO) @Message(id=66, value="Multiple processes identifiable as \'%s\' found; OS level kill cannot be safely performed") void multipleProcessesFound(String process)
-
destroyingProcess
@LogMessage(level=INFO) @Message(id=67, value="Process \'%s\' did not complete normal stop within %d ms; attempting to destroy process using java.lang.Process.destroyForcibly()") void destroyingProcess(String process, long timeout)
-
-