|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IncorrectFormatException.ErrorCode>
com.osbcp.cssparser.IncorrectFormatException.ErrorCode
public static enum IncorrectFormatException.ErrorCode
List of unique error codes.
Enum Constant Summary | |
---|---|
FOUND_COLON_WHEN_READING_SELECTOR_NAME
When the parse founds a colon , before reading a real selector name. |
|
FOUND_END_BRACKET_BEFORE_SEMICOLON
When the parse founds an end bracket } before the value's semicolon ; ending. |
|
FOUND_SEMICOLON_WHEN_READING_PROPERTY_NAME
When the parse founds a semicolon ; when reading the property name. |
Method Summary | |
---|---|
static IncorrectFormatException.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static IncorrectFormatException.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IncorrectFormatException.ErrorCode FOUND_SEMICOLON_WHEN_READING_PROPERTY_NAME
public static final IncorrectFormatException.ErrorCode FOUND_END_BRACKET_BEFORE_SEMICOLON
public static final IncorrectFormatException.ErrorCode FOUND_COLON_WHEN_READING_SELECTOR_NAME
Method Detail |
---|
public static IncorrectFormatException.ErrorCode[] values()
for (IncorrectFormatException.ErrorCode c : IncorrectFormatException.ErrorCode.values()) System.out.println(c);
public static IncorrectFormatException.ErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |