public enum CmsError extends Enum<CmsError>
Modifier and Type | Method and Description |
---|---|
int |
getNumber() |
String |
getText() |
static CmsError |
valueOf(int error) |
static CmsError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CmsError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmsError CME_0
public static final CmsError CME_321
public static final CmsError CME_500
public static CmsError[] values()
for (CmsError c : CmsError.values()) System.out.println(c);
public static CmsError 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 int getNumber()
public String getText()
public static CmsError valueOf(int error)
Copyright © 2015–2016 jSMS4Pi. All rights reserved.