public enum Warning extends Enum<Warning>
| Enum Constant and Description |
|---|
ERROR_CANCELING_QUERY |
MAX_VALUE_TRUNCATED |
NULL_PROPERTY |
NULL_URL |
UNSUPPORTED_PROPERTY |
UNSUPPORTED_URL_PREFIX |
VALUE_TRUNCATED |
| Modifier and Type | Method and Description |
|---|---|
static String |
lookup(Warning key,
Object... formatArgs)
Looks up the resource bundle string corresponding to the key, and formats it with the provided
arguments.
|
static Warning |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Warning[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Warning ERROR_CANCELING_QUERY
public static final Warning MAX_VALUE_TRUNCATED
public static final Warning VALUE_TRUNCATED
public static final Warning NULL_PROPERTY
public static final Warning NULL_URL
public static final Warning UNSUPPORTED_PROPERTY
public static final Warning UNSUPPORTED_URL_PREFIX
public static Warning[] values()
for (Warning c : Warning.values()) System.out.println(c);
public static Warning 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 static String lookup(Warning key, Object... formatArgs)
key - resource key for bundle provided to constructor.formatArgs - any additional arguments to format the resource string with.Copyright © 2020. All rights reserved.