Enum EFcHttpRequestError

    • Enum Constant Detail

      • CLIENT_ERROR

        public static final EFcHttpRequestError CLIENT_ERROR
        When the request was successful, but the server returned a 4xx response.
      • DATABASE_ERROR

        public static final EFcHttpRequestError DATABASE_ERROR
        When an error occurred during the communication with the database.
      • FILE_SYSTEM_ERROR

        public static final EFcHttpRequestError FILE_SYSTEM_ERROR
        When a file could not be read from the file system or written to the file system.
      • MALFORMED_URL

        public static final EFcHttpRequestError MALFORMED_URL
        The given post URL is invalid.
      • NETWORK_FAILURE

        public static final EFcHttpRequestError NETWORK_FAILURE
        Either when a file from an external URL could not be read, or when the HTTP request failed, such as when the server could not be reached, or no response was received.
      • NO_SOURCE_FILE_FOUND

        public static final EFcHttpRequestError NO_SOURCE_FILE_FOUND
        When a referenced file does not exist.
      • SERVER_ERROR

        public static final EFcHttpRequestError SERVER_ERROR
        When the request was successful, but the server returned a 5xx response.
      • XSLT_TRANSFORM_FAILED

        public static final EFcHttpRequestError XSLT_TRANSFORM_FAILED
        An XSLT template was specified, but the transform could not be applied.
    • Method Detail

      • values

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

        public static EFcHttpRequestError 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