public enum MessageErrorCode extends Enum<MessageErrorCode>
Enum Constant and Description |
---|
INTERNALERROR |
INVALIDPARAMETER_ |
INVALIDPARAMETER_MSGTYPENOTEXIST |
INVALIDPARAMETER_USERNOTEXIST |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static MessageErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageErrorCode INTERNALERROR
public static final MessageErrorCode INVALIDPARAMETER_
public static final MessageErrorCode INVALIDPARAMETER_MSGTYPENOTEXIST
public static final MessageErrorCode INVALIDPARAMETER_USERNOTEXIST
public static MessageErrorCode[] values()
for (MessageErrorCode c : MessageErrorCode.values()) System.out.println(c);
public static MessageErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
Copyright © 2025. All rights reserved.