Enum ErrorCode

    • Enum Constant Detail

      • PACKET_ENCRYPT_ERROR

        public static final ErrorCode PACKET_ENCRYPT_ERROR
      • JSON_PARSE_ERROR

        public static final ErrorCode JSON_PARSE_ERROR
      • ADD_ZIP_ENTRY_ERROR

        public static final ErrorCode ADD_ZIP_ENTRY_ERROR
      • BIR_TO_XML_ERROR

        public static final ErrorCode BIR_TO_XML_ERROR
      • OBJECT_TO_JSON_ERROR

        public static final ErrorCode OBJECT_TO_JSON_ERROR
      • PKT_ZIP_ERROR

        public static final ErrorCode PKT_ZIP_ERROR
      • INVALID_DATA_ERROR

        public static final ErrorCode INVALID_DATA_ERROR
      • AUDITS_REQUIRED

        public static final ErrorCode AUDITS_REQUIRED
      • INITIALIZATION_ERROR

        public static final ErrorCode INITIALIZATION_ERROR
    • Method Detail

      • values

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

        public static ErrorCode 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
      • getErrorCode

        public String getErrorCode()
      • setErrorCode

        public void setErrorCode​(String errorCode)
      • getErrorMessage

        public String getErrorMessage()
      • setErrorMessage

        public void setErrorMessage​(String errorMessage)