Enum Class Uploadable.Error

java.lang.Object
java.lang.Enum<Uploadable.Error>
org.zkoss.zk.ui.ext.Uploadable.Error
All Implemented Interfaces:
Serializable, Comparable<Uploadable.Error>, Constable
Enclosing interface:
Uploadable

public static enum Uploadable.Error extends Enum<Uploadable.Error>
Uploading error constants.
Since:
9.5.1
  • Enum Constant Details

    • MISSING_REQUIRED_COMPONENT

      public static final Uploadable.Error MISSING_REQUIRED_COMPONENT
      (missing-required-component) Missing required component or data.
    • ILLEGAL_UPLOAD

      public static final Uploadable.Error ILLEGAL_UPLOAD
      (illegal-upload) Illegal upload method.
    • SERVER_OUT_OF_SERVICE

      public static final Uploadable.Error SERVER_OUT_OF_SERVICE
      (server-out-of-service) Server temporarily out of service.
    • SIZE_LIMIT_EXCEEDED

      public static final Uploadable.Error SIZE_LIMIT_EXCEEDED
      (size-limit-exceeded) Upload file size exceeds max-size.
    • SERVER_EXCEPTION

      public static final Uploadable.Error SERVER_EXCEPTION
      (server-exception) Other server exceptions handled by handleError(ex).
  • Method Details

    • values

      public static Uploadable.Error[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Uploadable.Error valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Uploadable.Error>