public enum DatasourceExceptionType extends Enum<DatasourceExceptionType>
| Enum Constant and Description |
|---|
COLUMN_NOT_NULLABLE |
DATABASE_CONNECTION_ERROR |
INTEGRITY_CONSTRAINT_VIOLATION |
NOT_FOUND |
OTHER |
VALUE_TOO_LARGE |
| Modifier and Type | Method and Description |
|---|---|
static DatasourceExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatasourceExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatasourceExceptionType INTEGRITY_CONSTRAINT_VIOLATION
public static final DatasourceExceptionType COLUMN_NOT_NULLABLE
public static final DatasourceExceptionType DATABASE_CONNECTION_ERROR
public static final DatasourceExceptionType VALUE_TOO_LARGE
public static final DatasourceExceptionType OTHER
public static final DatasourceExceptionType NOT_FOUND
public static DatasourceExceptionType[] values()
for (DatasourceExceptionType c : DatasourceExceptionType.values()) System.out.println(c);
public static DatasourceExceptionType 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 nullCopyright © 2020 SAP. All Rights Reserved.