@MessageBundle(projectCode="WFLYNET",
length=4)
public interface NetworkMessages
Modifier and Type | Field and Description |
---|---|
static NetworkMessages |
MESSAGES
The default messages
|
Modifier and Type | Method and Description |
---|---|
IllegalStateException |
cannotChangeWhileBound()
Creates an exception indicating the value cannot be changed while the socket is bound.
|
IllegalArgumentException |
negativeDestinationPort(int port,
String name)
Creates an exception indicating a negative destination port for the outbound socket binding
name . |
IllegalStateException |
noMulticastBinding(String name)
Creates an exception indicating the no multicast binding for the name.
|
IllegalArgumentException |
nullDestinationAddress(String name)
Creates an exception indicating no destination address for the outbound socket binding.
|
IllegalArgumentException |
nullOrEmptyVar(String name)
Creates an exception indicating parameter
name cannot be null or an empty string. |
IllegalArgumentException |
nullOutboundSocketBindingParam(String type,
String name)
Creates an exception indicating a param of type
type was null for the outbound socket binding name . |
static final NetworkMessages MESSAGES
@Message(id=1, value="cannot change value while the socket is bound.") IllegalStateException cannotChangeWhileBound()
IllegalStateException
for the error.@Message(id=2, value="no multicast binding: %s") IllegalStateException noMulticastBinding(String name)
name
- the name.IllegalStateException
for the error.@Message(id=3, value="%s cannot be null or an empty string") IllegalArgumentException nullOrEmptyVar(String name)
name
cannot be null or an empty string.name
- the name.IllegalArgumentException
for the error.@Message(id=4, value="%s cannot be null for outbound socket binding \'%s\'") IllegalArgumentException nullOutboundSocketBindingParam(String type, String name)
type
was null for the outbound socket binding name
.type
- the type of the paramname
- the name.IllegalArgumentException
for the error.@Message(id=5, value="Destination address cannot be null or empty for outbound socket binding \'%s\'") IllegalArgumentException nullDestinationAddress(String name)
name
- the name.IllegalArgumentException
for the error.@Message(id=6, value="Destination port cannot be a negative value: [%d] for outbound socket binding \'%s\'") IllegalArgumentException negativeDestinationPort(int port, String name)
name
.port
- the illegal port valuename
- the name.IllegalArgumentException
for the error.Copyright © 2023 JBoss by Red Hat. All rights reserved.