public static enum CmsUgcConstants.ErrorCode extends java.lang.Enum<CmsUgcConstants.ErrorCode>
| Enum Constant and Description |
|---|
errConfiguration
Configuration error.
|
errInvalidAction
Invalid action error.
|
errInvalidExtension
Error when user tries to upload a file with a file extension which is not among the configured file extensions.
|
errMaxContentsExceeded
Error when the maximum number of contents in the content directory is reached.
|
errMaxQueueLengthExceeded
Error when the maximum number of entries in the form session request queue is reached.
|
errMaxUploadSizeExceeded
Error when uploaded files exceed the configured maximum upload size.
|
errMisc
Miscellaneous other errors.
|
errNoUploadAllowed
Error when trying to upload a file and uploads are not allowed.
|
errValidation
Validation error.
|
| Modifier and Type | Method and Description |
|---|---|
static CmsUgcConstants.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmsUgcConstants.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmsUgcConstants.ErrorCode errInvalidAction
public static final CmsUgcConstants.ErrorCode errConfiguration
public static final CmsUgcConstants.ErrorCode errNoUploadAllowed
public static final CmsUgcConstants.ErrorCode errMaxContentsExceeded
public static final CmsUgcConstants.ErrorCode errMaxQueueLengthExceeded
public static final CmsUgcConstants.ErrorCode errInvalidExtension
public static final CmsUgcConstants.ErrorCode errValidation
public static final CmsUgcConstants.ErrorCode errMisc
public static final CmsUgcConstants.ErrorCode errMaxUploadSizeExceeded
public static CmsUgcConstants.ErrorCode[] values()
for (CmsUgcConstants.ErrorCode c : CmsUgcConstants.ErrorCode.values()) System.out.println(c);
public static CmsUgcConstants.ErrorCode 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 null