@MessageBundle(projectCode="JBAS")
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=15300,
value="cannot change value while the socket is bound.")
IllegalStateException cannotChangeWhileBound()
IllegalStateException for the error.@Message(id=15301,
value="no multicast binding: %s")
IllegalStateException noMulticastBinding(String name)
name - the name.IllegalStateException for the error.@Message(id=15302,
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=15303,
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=15304,
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=15305,
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 © 2014 JBoss by Red Hat. All rights reserved.