public enum LensServerErrorCode extends Enum<LensServerErrorCode>
Enum Constant and Description |
---|
NULL_OR_EMPTY_OR_BLANK_QUERY |
SESSION_ID_NOT_PROVIDED |
UNSUPPORTED_QUERY_SUBMIT_OPERATION |
Modifier and Type | Method and Description |
---|---|
LensErrorInfo |
getLensErrorInfo() |
static LensServerErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LensServerErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LensServerErrorCode SESSION_ID_NOT_PROVIDED
public static final LensServerErrorCode NULL_OR_EMPTY_OR_BLANK_QUERY
public static final LensServerErrorCode UNSUPPORTED_QUERY_SUBMIT_OPERATION
public static LensServerErrorCode[] values()
for (LensServerErrorCode c : LensServerErrorCode.values()) System.out.println(c);
public static LensServerErrorCode 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 LensErrorInfo getLensErrorInfo()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.