|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CommunicationConnectorErrorCode>
org.universAAL.middleware.connectors.exception.CommunicationConnectorErrorCode
public enum CommunicationConnectorErrorCode
List of common error code for the CommunicationConnector
Enum Constant Summary | |
---|---|
CHANNEL_INIT_ERROR
|
|
CHANNEL_NOT_FOUND
This error code means that the JGroup cluster (e.g. the channel in uAAL jargon) destination has not been found among our JGroups cluster that we are joined to |
|
MULTIPLE_RECEIVERS
This error code means that we are trying to perform and unicast communication, but the message contains multiple receivers |
|
NEW_CHANNEL_ERROR
|
|
NO_CHANNEL_SPECIFIED
This error code means that the message that we are trying to send does not contain the name of the JGroup cluster (e.g. the channel in uAAL jargon) where JGroups has to push the message |
|
NOT_CONNECTED_TO_CHANNEL
This error code means that we are not connected to the JGroup cluster (e.g. the channel in uAAL jargon) destination |
|
RECEIVER_NOT_EXISTS
This error code means that the message was not sent because the destination of the message was not found among the member of the JGroups cluster (e.g. the channel in uAAL jargon) |
|
SEND_MESSAGE_ERROR
|
Method Summary | |
---|---|
static CommunicationConnectorErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CommunicationConnectorErrorCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CommunicationConnectorErrorCode NEW_CHANNEL_ERROR
public static final CommunicationConnectorErrorCode SEND_MESSAGE_ERROR
public static final CommunicationConnectorErrorCode CHANNEL_INIT_ERROR
public static final CommunicationConnectorErrorCode RECEIVER_NOT_EXISTS
public static final CommunicationConnectorErrorCode NO_CHANNEL_SPECIFIED
public static final CommunicationConnectorErrorCode MULTIPLE_RECEIVERS
public static final CommunicationConnectorErrorCode CHANNEL_NOT_FOUND
public static final CommunicationConnectorErrorCode NOT_CONNECTED_TO_CHANNEL
Method Detail |
---|
public static CommunicationConnectorErrorCode[] values()
for (CommunicationConnectorErrorCode c : CommunicationConnectorErrorCode.values()) System.out.println(c);
public static CommunicationConnectorErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |