public enum LensServerErrorCode extends Enum<LensServerErrorCode>
Enum Constant and Description |
---|
INVALID_HANDLE |
NULL_OR_EMPTY_ARGUMENT |
NULL_OR_EMPTY_OR_BLANK_QUERY |
SESSION_CLOSED |
SESSION_ID_NOT_PROVIDED |
TOO_MANY_OPEN_SESSIONS |
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 final LensServerErrorCode TOO_MANY_OPEN_SESSIONS
public static final LensServerErrorCode SESSION_CLOSED
public static final LensServerErrorCode INVALID_HANDLE
public static final LensServerErrorCode NULL_OR_EMPTY_ARGUMENT
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.