Package org.zkoss.zk.ui.ext
Enum Class Uploadable.Error
- All Implemented Interfaces:
Serializable,Comparable<Uploadable.Error>,Constable
- Enclosing interface:
- Uploadable
Uploading error constants.
- Since:
- 9.5.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription(illegal-upload) Illegal upload method.(missing-required-component) Missing required component or data.(server-exception) Other server exceptions handled byhandleError(ex).(server-out-of-service) Server temporarily out of service.(size-limit-exceeded) Upload file size exceeds max-size. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static Uploadable.ErrorReturns the enum constant of this class with the specified name.static Uploadable.Error[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MISSING_REQUIRED_COMPONENT
(missing-required-component) Missing required component or data. -
ILLEGAL_UPLOAD
(illegal-upload) Illegal upload method. -
SERVER_OUT_OF_SERVICE
(server-out-of-service) Server temporarily out of service. -
SIZE_LIMIT_EXCEEDED
(size-limit-exceeded) Upload file size exceeds max-size. -
SERVER_EXCEPTION
(server-exception) Other server exceptions handled byhandleError(ex).
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<Uploadable.Error>
-