public enum ErrorCode extends Enum<ErrorCode>
| Modifier and Type | Method and Description |
|---|---|
static ErrorCode |
fromValue(String v) |
ErrorCategory |
getCategory() |
String |
value() |
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode INVALID_REFERENCE
public static final ErrorCode INVALID_EXTERNAL_REFERENCE
public static final ErrorCode DUPLICATE_REFERENCE
public static final ErrorCode UNDRESOLVED_URI
public static final ErrorCode INVALID_NAMESPACE
public static final ErrorCode NAMESPACE_REQUIRED
public static final ErrorCode MALFORMED_DOCUMENT
public static final ErrorCode MALFORMED_ELEMENT
public static final ErrorCode PROPERTY_REQUIRED
public static final ErrorCode PROPERTY_RANGE_ERROR
public static final ErrorCode UNDEFINED_PROPERTY
public static final ErrorCode UNDEFINED_CLASS
public static final ErrorCode INVALID_TYPE
public static final ErrorCode ABSTRACT_CLASS_INSTANTIATION
public static final ErrorCode INVALID_STEREOTYPE_APPLICATION
public static final ErrorCode DERIVED_PROPERTY_INSTANTIATION
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode 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 ErrorCategory getCategory()
public String value()
Copyright © 2020. All rights reserved.