Enum Class AsyncHostReadErrorCode

java.lang.Object
java.lang.Enum<AsyncHostReadErrorCode>
dev.turboism.sdk.hostread.AsyncHostReadErrorCode
All Implemented Interfaces:
Serializable, Comparable<AsyncHostReadErrorCode>, Constable

public enum AsyncHostReadErrorCode extends Enum<AsyncHostReadErrorCode>
Classification of why an asynchronous host read was rejected at submission time or did not complete successfully.

The set is closed: callers may switch over it exhaustively. CANCELED is reserved — AsyncHostReadResult requires it for, and only for, a CANCELED status.

  • Enum Constant Details

  • Method Details

    • values

      public static AsyncHostReadErrorCode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AsyncHostReadErrorCode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null