public enum ListenerErrorType extends Enum<ListenerErrorType>
| Enum Constant and Description |
|---|
DUPLICATE_ENTRY
Represents that the entry is duplicate.
|
IDENTIFIER_COLLISION
Represents that the identifier collision is detected.
|
INVALID_CARDINALITY
Represents that the cardinality for given YANG construct is invalid.
|
INVALID_CHILD
Represents that the child in parsable stack for given YANG construct is
invalid.
|
INVALID_CONTENT
Represents that the content is invalid.
|
INVALID_HOLDER
Represents the parent holder in parsable stack for given YANG construct
is invalid.
|
MISSING_CURRENT_HOLDER
Represents the current holder in parsable stack for given YANG construct
is missing.
|
MISSING_HOLDER
Represents the parent holder in parsable stack for given YANG construct
is missing.
|
UNHANDLED_PARSED_DATA
Represents that some of earlier parsed data is not handled correctly.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getErrorType(ListenerErrorType errorType)
Returns the message corresponding to listener error type.
|
static ListenerErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListenerErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenerErrorType INVALID_HOLDER
public static final ListenerErrorType MISSING_HOLDER
public static final ListenerErrorType MISSING_CURRENT_HOLDER
public static final ListenerErrorType INVALID_CHILD
public static final ListenerErrorType INVALID_CARDINALITY
public static final ListenerErrorType DUPLICATE_ENTRY
public static final ListenerErrorType INVALID_CONTENT
public static final ListenerErrorType IDENTIFIER_COLLISION
public static final ListenerErrorType UNHANDLED_PARSED_DATA
public static ListenerErrorType[] values()
for (ListenerErrorType c : ListenerErrorType.values()) System.out.println(c);
public static ListenerErrorType 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 getErrorType(ListenerErrorType errorType)
errorType - enum value for type of errorCopyright © 2016. All rights reserved.