public enum ErrorCode extends java.lang.Enum<ErrorCode>
| Modifier and Type | Method and Description |
|---|---|
static ErrorCode |
fromValue(java.lang.String v) |
ErrorCategory |
getCategory() |
java.lang.String |
value() |
static ErrorCode |
valueOf(java.lang.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(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 namejava.lang.NullPointerException - if the argument is nullpublic ErrorCategory getCategory()
public java.lang.String value()
public static ErrorCode fromValue(java.lang.String v)
Copyright © 2016. All Rights Reserved.