Enum Class BarcodeManagerError

java.lang.Object
java.lang.Enum<BarcodeManagerError>
jp.co.asterisk.asreader.barcodemanager.define.BarcodeManagerError
すべての実装されたインタフェース:
Serializable, Comparable<BarcodeManagerError>, Constable

public enum BarcodeManagerError extends Enum<BarcodeManagerError>
Error enum
  • 列挙型定数の詳細

    • COMMAND_ERROR_COMMAND_SEND_FAILED

      public static final BarcodeManagerError COMMAND_ERROR_COMMAND_SEND_FAILED
      Error in sending packets.
    • COMMAND_ERROR_START_DECODE_FAILED

      public static final BarcodeManagerError COMMAND_ERROR_START_DECODE_FAILED
      Error in StartDecode.
    • SETTINGS_ERROR_SETTINGS_FAILED

      public static final BarcodeManagerError SETTINGS_ERROR_SETTINGS_FAILED
      Error in Barcode settings.
    • SETTINGS_ERROR_TIMEOUT

      public static final BarcodeManagerError SETTINGS_ERROR_TIMEOUT
      Timeout in Barcode settings process.
    • COMMAND_ERROR_GET_SYSTEM_BEEP

      public static final BarcodeManagerError COMMAND_ERROR_GET_SYSTEM_BEEP
      Error in GetSystemBeep.
  • メソッドの詳細

    • values

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

      public static BarcodeManagerError 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.)
      パラメータ:
      name - 返される列挙型定数の名前。
      戻り値:
      指定した名前の列挙型定数
      例外:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 引数がnullの場合
    • getMessage

      public abstract String getMessage()
      Get error message.
      戻り値:
      Get error message string from enum.