public enum OrderProcessExceptionType extends java.lang.Enum<OrderProcessExceptionType>
Enum Constant and Description |
---|
DB_CONNETION_PROBLEM
Database connection problem
|
EQUAL_TEST_FAILED
Equal test failed
|
ISIN_IS_NULL_OR_EMPTY |
NO_IMPORTER_FOUND
No importer for the given file/reader found
|
STOCK_NOT_FOUND
Stock not found
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDetailMsg()
Returns the detailed message of an
OrderProcessExceptionType |
static OrderProcessExceptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrderProcessExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderProcessExceptionType STOCK_NOT_FOUND
public static final OrderProcessExceptionType ISIN_IS_NULL_OR_EMPTY
public static final OrderProcessExceptionType EQUAL_TEST_FAILED
public static final OrderProcessExceptionType DB_CONNETION_PROBLEM
public static final OrderProcessExceptionType NO_IMPORTER_FOUND
public static OrderProcessExceptionType[] values()
for (OrderProcessExceptionType c : OrderProcessExceptionType.values()) System.out.println(c);
public static OrderProcessExceptionType 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 java.lang.String getDetailMsg()
OrderProcessExceptionType