Enum MetasyncResult

    • Enum Constant Detail

      • IO_EXCEPTION

        public static final MetasyncResult IO_EXCEPTION
        Is any kind of error establishing a connection or during a connection that's usually on the network level (connection refused, timeouts etc.).
      • PROTOCOL_ERROR

        public static final MetasyncResult PROTOCOL_ERROR
        This means that we got a reply from the endpoint but it does not conform to what we expected (e.g. HTML instead of XML).
      • OTHER_ERROR

        public static final MetasyncResult OTHER_ERROR
        Anything that doesn't fit in the former categories (e.g. invalid URI stored in our Registry).
    • Method Detail

      • values

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

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