Enum CmsError

    • Enum Constant Detail

      • TECHNICAL_ERROR

        public static final CmsError TECHNICAL_ERROR
        Describes cases, when the error is caused by 3rd party libraries, network errors, etc.
      • LOGICAL_ERROR

        public static final CmsError LOGICAL_ERROR
        Describes cases, when the error is caused by the mistakes in business logic (like providing wrong payment ID)
      • CHECKSUM_ERROR

        public static final CmsError CHECKSUM_ERROR
        Should be used in case of wrong AIS consent checksum after definite consent properties were set initially and then are being changed.
    • Method Detail

      • values

        public static CmsError[] 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 (CmsError c : CmsError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CmsError 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 name
        NullPointerException - if the argument is null