public enum TemplateManagerExceptionCodeConstant extends Enum<TemplateManagerExceptionCodeConstant>
| Enum Constant and Description |
|---|
TEMPLATE_INVALID_REFERENCE |
TEMPLATE_NOT_FOUND |
TEMPLATE_PARSING |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
Getter for errorCode.
|
String |
getErrorMessage()
Getter for errorMessage.
|
static TemplateManagerExceptionCodeConstant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemplateManagerExceptionCodeConstant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateManagerExceptionCodeConstant TEMPLATE_NOT_FOUND
public static final TemplateManagerExceptionCodeConstant TEMPLATE_PARSING
public static final TemplateManagerExceptionCodeConstant TEMPLATE_INVALID_REFERENCE
public static TemplateManagerExceptionCodeConstant[] values()
for (TemplateManagerExceptionCodeConstant c : TemplateManagerExceptionCodeConstant.values()) System.out.println(c);
public static TemplateManagerExceptionCodeConstant 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 String getErrorCode()
public String getErrorMessage()
Copyright © 2020. All rights reserved.