public static enum Uploadable.Error extends java.lang.Enum<Uploadable.Error>
Enum Constant and Description |
---|
ILLEGAL_UPLOAD
(illegal-upload) Illegal upload method.
|
MISSING_REQUIRED_COMPONENT
(missing-required-component) Missing required component or data.
|
SERVER_EXCEPTION
(server-exception) Other server exceptions handled by
handleError(ex) . |
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Uploadable.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Uploadable.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Uploadable.Error MISSING_REQUIRED_COMPONENT
public static final Uploadable.Error ILLEGAL_UPLOAD
public static final Uploadable.Error SERVER_OUT_OF_SERVICE
public static final Uploadable.Error SIZE_LIMIT_EXCEEDED
public static final Uploadable.Error SERVER_EXCEPTION
handleError(ex)
.public static Uploadable.Error[] values()
for (Uploadable.Error c : Uploadable.Error.values()) System.out.println(c);
public static Uploadable.Error valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Uploadable.Error>
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.