public enum ExceptionEnumType extends Enum<ExceptionEnumType>
Enum Constant and Description |
---|
POLICY_EXCPTION |
SERVICE_EXCEPTION |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static ExceptionEnumType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionEnumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionEnumType SERVICE_EXCEPTION
public static final ExceptionEnumType POLICY_EXCPTION
public static ExceptionEnumType[] values()
for (ExceptionEnumType c : ExceptionEnumType.values()) System.out.println(c);
public static ExceptionEnumType 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 getValue()
Copyright © 2017. All rights reserved.