Enum VASTErrorCodes

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<VASTErrorCodes>

    public enum VASTErrorCodes
    extends java.lang.Enum<VASTErrorCodes>
    • Enum Constant Detail

      • VAST_SCHEMA_ERROR

        public static final VASTErrorCodes VAST_SCHEMA_ERROR
      • VAST_UNSUPPORTED_VERSION

        public static final VASTErrorCodes VAST_UNSUPPORTED_VERSION
      • GENERAL_WRAPPER_ERROR

        public static final VASTErrorCodes GENERAL_WRAPPER_ERROR
      • VASTTAG_TIMEOUT_ERROR

        public static final VASTErrorCodes VASTTAG_TIMEOUT_ERROR
      • WRAPPER_LIMIT_REACH_ERROR

        public static final VASTErrorCodes WRAPPER_LIMIT_REACH_ERROR
      • NO_AD_IN_WRAPPER_ERROR

        public static final VASTErrorCodes NO_AD_IN_WRAPPER_ERROR
      • GENERAL_LINEAR_ERROR

        public static final VASTErrorCodes GENERAL_LINEAR_ERROR
      • MEDIA_NOT_FOUND_ERROR

        public static final VASTErrorCodes MEDIA_NOT_FOUND_ERROR
      • MEDIA_TIMEOUT_ERROR

        public static final VASTErrorCodes MEDIA_TIMEOUT_ERROR
      • NO_SUPPORTED_MEDIA_ERROR

        public static final VASTErrorCodes NO_SUPPORTED_MEDIA_ERROR
      • MEDIA_DISPLAY_ERROR

        public static final VASTErrorCodes MEDIA_DISPLAY_ERROR
    • Method Detail

      • values

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

        public static VASTErrorCodes valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<VASTErrorCodes>