public static enum SendSyncMessageParser.ErrorMode extends java.lang.Enum<SendSyncMessageParser.ErrorMode>
| Enum Constant and Description |
|---|
MSG_EXCEPTION
メッセージ送受信エラーの場合を想定し、MessagingExceptionが発生するモード
|
TIMEOUT
タイムアウトエラーの場合を想定し、nullを返却するモード
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
モードを有効にする場合に、セルに記載する値を取得する
|
static boolean |
isErrorMode(java.lang.String mode)
指定された文字列表現のモードが、この列挙型の要素の文字列表現と一致するか否か。
もし、列挙型の要素の中でどれか1つでも一致するものがあれば、
trueを返す。 |
static SendSyncMessageParser.ErrorMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SendSyncMessageParser.ErrorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SendSyncMessageParser.ErrorMode TIMEOUT
public static final SendSyncMessageParser.ErrorMode MSG_EXCEPTION
public static SendSyncMessageParser.ErrorMode[] values()
for (SendSyncMessageParser.ErrorMode c : SendSyncMessageParser.ErrorMode.values()) System.out.println(c);
public static SendSyncMessageParser.ErrorMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()
public static boolean isErrorMode(java.lang.String mode)
trueを返す。mode - 文字列表現のエラーモード