public static enum SqlPlanningException.PlanningError extends Enum<SqlPlanningException.PlanningError>
| Enum Constant and Description |
|---|
SQL_PARSE_ERROR |
UNSUPPORTED_SQL_ERROR |
VALIDATION_ERROR |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorClass() |
String |
getErrorCode() |
static SqlPlanningException.PlanningError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlPlanningException.PlanningError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlPlanningException.PlanningError SQL_PARSE_ERROR
public static final SqlPlanningException.PlanningError VALIDATION_ERROR
public static final SqlPlanningException.PlanningError UNSUPPORTED_SQL_ERROR
public static SqlPlanningException.PlanningError[] values()
for (SqlPlanningException.PlanningError c : SqlPlanningException.PlanningError.values()) System.out.println(c);
public static SqlPlanningException.PlanningError 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 getErrorCode()
public String getErrorClass()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.