public enum Status extends Enum<Status> implements Serializable
Modifier and Type | Method and Description |
---|---|
String |
getStatusMessage() |
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status SUCCESS
public static final Status FAIL
public static final Status FILE_ERROR
public static final Status SQL_ERROR
public static final Status NETWORK_ERROR
public static final Status CONNECTION_ERROR
public static final Status CONNECTION_WRONG_ADDRESS_ERROR
public static final Status DISCONNECTION_ERROR
public static final Status DB_ERROR
public static final Status DB_WRITE_ERROR
public static final Status DB_CONNECTION_ERROR
public static final Status DB_DRIVER_ERROR
public static final Status DB_ENTRY_ALREADY_IN_DB
public static final Status DB_CLOSE_CON_ERROR
public static final Status DB_NO_SPECIFIED_DATABASE
public static final Status DB_FILE_NOT_SET
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static Status 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 getStatusMessage()
Copyright © 2019. All rights reserved.