public enum DhxExceptionEnum extends java.lang.Enum<DhxExceptionEnum>
Enum Constant and Description |
---|
CAPSULE_VALIDATION_ERROR |
DATA_ERROR |
DUPLICATE_PACKAGE |
EXTRACTION_ERROR |
FILE_ERROR |
NOT_IMPLEMENTED |
OVER_MAX_SIZE |
PROTOCOL_VERSION_ERROR |
TECHNICAL_ERROR |
WRONG_RECIPIENT |
WRONG_SENDER |
WS_ERROR |
XSD_VERSION_ERROR |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCodeForService()
Returns error code which is returned in SOAP services(custom fault element).
|
java.lang.Boolean |
isBusinessException()
is exception a business exception.
|
static DhxExceptionEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DhxExceptionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DhxExceptionEnum CAPSULE_VALIDATION_ERROR
public static final DhxExceptionEnum DUPLICATE_PACKAGE
public static final DhxExceptionEnum WRONG_RECIPIENT
public static final DhxExceptionEnum OVER_MAX_SIZE
public static final DhxExceptionEnum WRONG_SENDER
public static final DhxExceptionEnum FILE_ERROR
public static final DhxExceptionEnum WS_ERROR
public static final DhxExceptionEnum EXTRACTION_ERROR
public static final DhxExceptionEnum TECHNICAL_ERROR
public static final DhxExceptionEnum DATA_ERROR
public static final DhxExceptionEnum NOT_IMPLEMENTED
public static final DhxExceptionEnum XSD_VERSION_ERROR
public static final DhxExceptionEnum PROTOCOL_VERSION_ERROR
public static DhxExceptionEnum[] values()
for (DhxExceptionEnum c : DhxExceptionEnum.values()) System.out.println(c);
public static DhxExceptionEnum 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 getCodeForService()
public java.lang.Boolean isBusinessException()