Package de.adorsys.psd2.xs2a.core.error
Enum ErrorType
- java.lang.Object
-
- java.lang.Enum<ErrorType>
-
- de.adorsys.psd2.xs2a.core.error.ErrorType
-
- All Implemented Interfaces:
Serializable,Comparable<ErrorType>
public enum ErrorType extends Enum<ErrorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AIS_400AIS_401AIS_403AIS_404AIS_405AIS_406AIS_409AIS_415AIS_429AIS_500PIIS_400PIIS_401PIIS_403PIIS_404PIIS_405PIIS_409PIIS_415PIIS_429PIIS_500PIS_400PIS_401PIS_403PIS_404PIS_405PIS_406PIS_409PIS_415PIS_500PIS_CANC_405SB_400SB_401SB_403SB_404SB_405SB_409SB_415SB_500
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<ErrorType>getByServiceTypeAndErrorCode(ServiceType serviceType, int errorCode)intgetErrorCode()ServiceTypegetServiceType()static ErrorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PIS_400
public static final ErrorType PIS_400
-
PIS_401
public static final ErrorType PIS_401
-
PIS_403
public static final ErrorType PIS_403
-
PIS_404
public static final ErrorType PIS_404
-
PIS_405
public static final ErrorType PIS_405
-
PIS_406
public static final ErrorType PIS_406
-
PIS_409
public static final ErrorType PIS_409
-
PIS_415
public static final ErrorType PIS_415
-
PIS_500
public static final ErrorType PIS_500
-
PIS_CANC_405
public static final ErrorType PIS_CANC_405
-
PIIS_400
public static final ErrorType PIIS_400
-
PIIS_401
public static final ErrorType PIIS_401
-
PIIS_403
public static final ErrorType PIIS_403
-
PIIS_404
public static final ErrorType PIIS_404
-
PIIS_405
public static final ErrorType PIIS_405
-
PIIS_409
public static final ErrorType PIIS_409
-
PIIS_415
public static final ErrorType PIIS_415
-
PIIS_429
public static final ErrorType PIIS_429
-
PIIS_500
public static final ErrorType PIIS_500
-
AIS_400
public static final ErrorType AIS_400
-
AIS_401
public static final ErrorType AIS_401
-
AIS_403
public static final ErrorType AIS_403
-
AIS_404
public static final ErrorType AIS_404
-
AIS_405
public static final ErrorType AIS_405
-
AIS_406
public static final ErrorType AIS_406
-
AIS_409
public static final ErrorType AIS_409
-
AIS_415
public static final ErrorType AIS_415
-
AIS_429
public static final ErrorType AIS_429
-
AIS_500
public static final ErrorType AIS_500
-
SB_400
public static final ErrorType SB_400
-
SB_401
public static final ErrorType SB_401
-
SB_403
public static final ErrorType SB_403
-
SB_404
public static final ErrorType SB_404
-
SB_405
public static final ErrorType SB_405
-
SB_409
public static final ErrorType SB_409
-
SB_415
public static final ErrorType SB_415
-
SB_500
public static final ErrorType SB_500
-
-
Method Detail
-
values
public static ErrorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ErrorType c : ErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getByServiceTypeAndErrorCode
public static Optional<ErrorType> getByServiceTypeAndErrorCode(ServiceType serviceType, int errorCode)
-
getServiceType
public ServiceType getServiceType()
-
getErrorCode
public int getErrorCode()
-
-