public enum SmpnErrorCode extends Enum<SmpnErrorCode>
Enum Constant and Description |
---|
INTERNALERROR_TIMEOUT |
INVALIDPARAMETER_NAME |
INVALIDPARAMETER_PHONENUMBER |
RESOURCENOTFOUND |
RESOURCEUNAVAILABLE |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static SmpnErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmpnErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmpnErrorCode INTERNALERROR_TIMEOUT
public static final SmpnErrorCode INVALIDPARAMETER_NAME
public static final SmpnErrorCode INVALIDPARAMETER_PHONENUMBER
public static final SmpnErrorCode RESOURCENOTFOUND
public static final SmpnErrorCode RESOURCEUNAVAILABLE
public static SmpnErrorCode[] values()
for (SmpnErrorCode c : SmpnErrorCode.values()) System.out.println(c);
public static SmpnErrorCode 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 © 2022. All rights reserved.