public enum CmsError extends Enum<CmsError>
| Enum Constant and Description |
|---|
CHECKSUM_ERROR
Should be used in case of wrong AIS consent checksum after definite consent properties were set initially and then
are being changed.
|
LOGICAL_ERROR
Describes cases, when the error is caused by the mistakes in business logic (like providing wrong payment ID)
|
TECHNICAL_ERROR
Describes cases, when the error is caused by 3rd party libraries, network errors, etc.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<CmsError> |
getByName(String name) |
static CmsError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CmsError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmsError TECHNICAL_ERROR
public static final CmsError LOGICAL_ERROR
public static final CmsError CHECKSUM_ERROR
public static CmsError[] values()
for (CmsError c : CmsError.values()) System.out.println(c);
public static CmsError 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 nullCopyright © 2020. All rights reserved.