Class PushRelayError

java.lang.Object
org.moera.lib.pushrelay.PushRelayError

public class PushRelayError extends Object
The PushRelayError class defines a set of constants that represent error codes related to the Push Relay API operations.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CLIENT_ID_EMPTY

      public static final int CLIENT_ID_EMPTY
      Error code indicating that the client ID is empty.
      See Also:
    • CLIENT_ID_TOO_LONG

      public static final int CLIENT_ID_TOO_LONG
      Error code indicating that the client ID provided is too long.
      See Also:
    • NODE_NAME_EMPTY

      public static final int NODE_NAME_EMPTY
      Error code indicating that the node name provided is empty.
      See Also:
    • NODE_NAME_UNKNOWN

      public static final int NODE_NAME_UNKNOWN
      Error code indicating that the specified node name is not recognized.
      See Also:
    • LANG_TOO_LONG

      public static final int LANG_TOO_LONG
      Error code indicating that the provided language code exceeds the allowable length.
      See Also:
    • NO_CLIENTS

      public static final int NO_CLIENTS
      Error 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_EMPTY
      Error code indicating that the story content is empty.
      See Also:
    • STORY_INVALID

      public static final int STORY_INVALID
      Error code indicating that the provided story is invalid.
      See Also:
    • STORY_TYPE_UNKNOWN

      public static final int STORY_TYPE_UNKNOWN
      Error code indicating that the story type is unknown.
      See Also:
    • STORY_ID_EMPTY

      public static final int STORY_ID_EMPTY
      Error code indicating that the story ID is missing or empty.
      See Also:
    • SIGNED_AT_EMPTY

      public static final int SIGNED_AT_EMPTY
      Error 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_OLD
      Error code indicating that the provided signature timestamp is too old.
      See Also:
    • SIGNATURE_EMPTY

      public static final int SIGNATURE_EMPTY
      Error code indicating that the provided signature is empty.
      See Also:
    • SIGNATURE_INCORRECT

      public static final int SIGNATURE_INCORRECT
      Error code indicating that the provided signature is incorrect.
      See Also:
  • Constructor Details

    • PushRelayError

      public PushRelayError()