Package org.moera.lib.pushrelay
Class PushRelayError
java.lang.Object
org.moera.lib.pushrelay.PushRelayError
The
PushRelayError
class defines a set of constants that represent error codes
related to the Push Relay API operations.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Error code indicating that the client ID is empty.static final int
Error code indicating that the client ID provided is too long.static final int
Error code indicating that the provided language code exceeds the allowable length.static final int
Error code indicating that the node has no clients (the node should stop sending messages for them).static final int
Error code indicating that the node name provided is empty.static final int
Error code indicating that the specified node name is not recognized.static final int
Error code indicating that the provided signature is empty.static final int
Error code indicating that the provided signature is incorrect.static final int
Error code indicating that the signature timestamp field is empty in the request.static final int
Error code indicating that the provided signature timestamp is too old.static final int
Error code indicating that the story content is empty.static final int
Error code indicating that the story ID is missing or empty.static final int
Error code indicating that the provided story is invalid.static final int
Error code indicating that the story type is unknown. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CLIENT_ID_EMPTY
public static final int CLIENT_ID_EMPTYError code indicating that the client ID is empty.- See Also:
-
CLIENT_ID_TOO_LONG
public static final int CLIENT_ID_TOO_LONGError code indicating that the client ID provided is too long.- See Also:
-
NODE_NAME_EMPTY
public static final int NODE_NAME_EMPTYError code indicating that the node name provided is empty.- See Also:
-
NODE_NAME_UNKNOWN
public static final int NODE_NAME_UNKNOWNError code indicating that the specified node name is not recognized.- See Also:
-
LANG_TOO_LONG
public static final int LANG_TOO_LONGError code indicating that the provided language code exceeds the allowable length.- See Also:
-
NO_CLIENTS
public static final int NO_CLIENTSError code indicating that the node has no clients (the node should stop sending messages for them).- See Also:
-
STORY_EMPTY
public static final int STORY_EMPTYError code indicating that the story content is empty.- See Also:
-
STORY_INVALID
public static final int STORY_INVALIDError code indicating that the provided story is invalid.- See Also:
-
STORY_TYPE_UNKNOWN
public static final int STORY_TYPE_UNKNOWNError code indicating that the story type is unknown.- See Also:
-
STORY_ID_EMPTY
public static final int STORY_ID_EMPTYError code indicating that the story ID is missing or empty.- See Also:
-
SIGNED_AT_EMPTY
public static final int SIGNED_AT_EMPTYError code indicating that the signature timestamp field is empty in the request.- See Also:
-
SIGNED_AT_TOO_OLD
public static final int SIGNED_AT_TOO_OLDError code indicating that the provided signature timestamp is too old.- See Also:
-
SIGNATURE_EMPTY
public static final int SIGNATURE_EMPTYError code indicating that the provided signature is empty.- See Also:
-
SIGNATURE_INCORRECT
public static final int SIGNATURE_INCORRECTError code indicating that the provided signature is incorrect.- See Also:
-
-
Constructor Details
-
PushRelayError
public PushRelayError()
-