public enum InfluxDBReaderErrorCode extends Enum<InfluxDBReaderErrorCode> implements ErrorCode
| Enum Constant and Description |
|---|
ILLEGAL_VALUE |
REQUIRED_VALUE |
| Modifier and Type | Field and Description |
|---|---|
private String |
code |
private String |
description |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getDescription() |
String |
toString() |
static InfluxDBReaderErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InfluxDBReaderErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfluxDBReaderErrorCode REQUIRED_VALUE
public static final InfluxDBReaderErrorCode ILLEGAL_VALUE
public static InfluxDBReaderErrorCode[] values()
for (InfluxDBReaderErrorCode c : InfluxDBReaderErrorCode.values()) System.out.println(c);
public static InfluxDBReaderErrorCode 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 getDescription()
getDescription in interface ErrorCodeCopyright © 2021. All rights reserved.