Package de.xima.fc.gui.elfinder
Enum EElfinderErrorCode
- java.lang.Object
-
- java.lang.Enum<EElfinderErrorCode>
-
- de.xima.fc.gui.elfinder.EElfinderErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<EElfinderErrorCode>
public enum EElfinderErrorCode extends Enum<EElfinderErrorCode>
Enumeration of well-known elfinder error codes for the elfinder file manager.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERR_ACCESS_DENIED
ERR_ARC_MAXSIZE
ERR_ARC_SYMLINKS
ERR_ARCHIVE
ERR_ARCHIVE_EXEC
ERR_ARCHIVE_TYPE
ERR_CONF
ERR_CONF_NO_JSON
ERR_CONF_NO_VOL
ERR_CONV_UTF8
ERR_COPY
ERR_COPY_FROM
ERR_COPY_ITSELF
ERR_COPY_OPTIMISTIC_LOCK
File could not be copied due to another use having modified it in the meantimeERR_COPY_TO
ERR_CREATING_TEMP_DIR
ERR_DIR_NOT_FOUND
ERR_EXISTS
'File named "$1" already exists.'ERR_EXTRACT
ERR_EXTRACT_EXEC
ERR_FILE_NOT_FOUND
'File not found.'ERR_FTP_DOWNLOAD_FILE
ERR_FTP_MKDIR
ERR_FTP_UPLOAD_FILE
ERR_INV_PARAMS
ERR_INVALID_DIRNAME
'Invalid folder name.'ERR_INVALID_NAME
'Invalid file name.'ERR_LOCKED
'"$1" is locked and can not be renamed, moved or removed.'ERR_MAX_MKDIRS
'You can create up to $1 folders at one time.',ERR_MAX_TARGTES
'Max number of selectable items is $1.'ERR_MKDIR
ERR_MKDIR_OPTIMISTIC_LOCK
Folder could not be created due to another use having modified it in the meantimeERR_MKFILE
ERR_MKFILE_OPTIMISTIC_LOCK
File could not be created due to another use having modified it in the meantimeERR_MKOUTLINK
'Unable to create a link to outside the volume root.'ERR_MOVE
ERR_NETMOUNT
ERR_NETMOUNT_FAILED
ERR_NETMOUNT_NO_DRIVER
ERR_NETUNMOUNT
ERR_NOT_ARCHIVE
ERR_NOT_DIR
ERR_NOT_FILE
ERR_NOT_REPLACE
Object "$1" already exists at this location and can not be replaced with object of another type.ERR_NOT_UTF8_CONTENT
ERR_OPEN
ERR_PERM_DENIED
ERR_REAUTH_REQUIRE
'Re-authorization is required.'ERR_RENAME
ERR_RENAME_OPTIMISTIC_LOCK
File could not be renamed due to another use having modified it in the meantimeERR_REPLACE
'Unable to replace "$1".'ERR_RESIZE
ERR_RESIZE_OPTIMISTIC_LOCK
File could not be resized due to another use having modified it in the meantimeERR_RESIZESIZE
ERR_RM
'Unable to remove "$1".'ERR_RM_OPTIMISTIC_LOCK
File could not be removed due to another use having modified it in the meantimeERR_RM_SRC
'Unable remove source file(s)'ERR_SAVE
ERR_SAVE_OPTIMISTIC_LOCK
File could not be saved due to another use having modified it in the meantimeERR_SEARCH_TIMEOUT
'Timed out while searching "$1".ERR_SESSION_EXPIRES
ERR_TRGDIR_NOT_FOUND
'Target folder "$1" not found.'ERR_UNKNOWN
ERR_UNKNOWN_CMD
ERR_UNSUPPORT_TYPE
ERR_UPLOAD
'Upload error.'ERR_UPLOAD_FILE
'Unable to upload "$1".'ERR_UPLOAD_FILE_MIME
'File type not allowed.'ERR_UPLOAD_FILE_SIZE
'File exceeds maximum allowed size.'ERR_UPLOAD_NO_FILES
'No files found for upload.'ERR_UPLOAD_OPTIMISTIC_LOCK
File could not be uploaded due to another use having modified it in the meantimeERR_UPLOAD_TEMP
'Unable to make temporary file for upload.'ERR_UPLOAD_TOTAL_SIZE
'Data exceeds the maximum allowed size.'ERR_UPLOAD_TRANSFER
'"$1" transfer error.'
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
errorCodeName()
The name of the error code to sent to the client.static EElfinderErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static EElfinderErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERR_ACCESS_DENIED
public static final EElfinderErrorCode ERR_ACCESS_DENIED
-
ERR_ARC_MAXSIZE
public static final EElfinderErrorCode ERR_ARC_MAXSIZE
-
ERR_ARC_SYMLINKS
public static final EElfinderErrorCode ERR_ARC_SYMLINKS
-
ERR_ARCHIVE
public static final EElfinderErrorCode ERR_ARCHIVE
-
ERR_ARCHIVE_EXEC
public static final EElfinderErrorCode ERR_ARCHIVE_EXEC
-
ERR_ARCHIVE_TYPE
public static final EElfinderErrorCode ERR_ARCHIVE_TYPE
-
ERR_CONF
public static final EElfinderErrorCode ERR_CONF
-
ERR_CONF_NO_JSON
public static final EElfinderErrorCode ERR_CONF_NO_JSON
-
ERR_CONF_NO_VOL
public static final EElfinderErrorCode ERR_CONF_NO_VOL
-
ERR_CONV_UTF8
public static final EElfinderErrorCode ERR_CONV_UTF8
-
ERR_COPY
public static final EElfinderErrorCode ERR_COPY
-
ERR_COPY_FROM
public static final EElfinderErrorCode ERR_COPY_FROM
-
ERR_COPY_ITSELF
public static final EElfinderErrorCode ERR_COPY_ITSELF
-
ERR_COPY_TO
public static final EElfinderErrorCode ERR_COPY_TO
-
ERR_CREATING_TEMP_DIR
public static final EElfinderErrorCode ERR_CREATING_TEMP_DIR
-
ERR_DIR_NOT_FOUND
public static final EElfinderErrorCode ERR_DIR_NOT_FOUND
-
ERR_EXISTS
public static final EElfinderErrorCode ERR_EXISTS
'File named "$1" already exists.'
-
ERR_EXTRACT
public static final EElfinderErrorCode ERR_EXTRACT
-
ERR_EXTRACT_EXEC
public static final EElfinderErrorCode ERR_EXTRACT_EXEC
-
ERR_FILE_NOT_FOUND
public static final EElfinderErrorCode ERR_FILE_NOT_FOUND
'File not found.'
-
ERR_FTP_DOWNLOAD_FILE
public static final EElfinderErrorCode ERR_FTP_DOWNLOAD_FILE
-
ERR_FTP_MKDIR
public static final EElfinderErrorCode ERR_FTP_MKDIR
-
ERR_FTP_UPLOAD_FILE
public static final EElfinderErrorCode ERR_FTP_UPLOAD_FILE
-
ERR_INV_PARAMS
public static final EElfinderErrorCode ERR_INV_PARAMS
-
ERR_INVALID_DIRNAME
public static final EElfinderErrorCode ERR_INVALID_DIRNAME
'Invalid folder name.'
-
ERR_INVALID_NAME
public static final EElfinderErrorCode ERR_INVALID_NAME
'Invalid file name.'
-
ERR_LOCKED
public static final EElfinderErrorCode ERR_LOCKED
'"$1" is locked and can not be renamed, moved or removed.'
-
ERR_MAX_TARGTES
public static final EElfinderErrorCode ERR_MAX_TARGTES
'Max number of selectable items is $1.'
-
ERR_MKDIR
public static final EElfinderErrorCode ERR_MKDIR
-
ERR_MKFILE
public static final EElfinderErrorCode ERR_MKFILE
-
ERR_MKOUTLINK
public static final EElfinderErrorCode ERR_MKOUTLINK
'Unable to create a link to outside the volume root.'
-
ERR_MOVE
public static final EElfinderErrorCode ERR_MOVE
-
ERR_NETMOUNT
public static final EElfinderErrorCode ERR_NETMOUNT
-
ERR_NETMOUNT_FAILED
public static final EElfinderErrorCode ERR_NETMOUNT_FAILED
-
ERR_NETMOUNT_NO_DRIVER
public static final EElfinderErrorCode ERR_NETMOUNT_NO_DRIVER
-
ERR_NETUNMOUNT
public static final EElfinderErrorCode ERR_NETUNMOUNT
-
ERR_NOT_ARCHIVE
public static final EElfinderErrorCode ERR_NOT_ARCHIVE
-
ERR_NOT_DIR
public static final EElfinderErrorCode ERR_NOT_DIR
-
ERR_NOT_FILE
public static final EElfinderErrorCode ERR_NOT_FILE
-
ERR_NOT_REPLACE
public static final EElfinderErrorCode ERR_NOT_REPLACE
Object "$1" already exists at this location and can not be replaced with object of another type.
-
ERR_NOT_UTF8_CONTENT
public static final EElfinderErrorCode ERR_NOT_UTF8_CONTENT
-
ERR_OPEN
public static final EElfinderErrorCode ERR_OPEN
-
ERR_PERM_DENIED
public static final EElfinderErrorCode ERR_PERM_DENIED
-
ERR_REAUTH_REQUIRE
public static final EElfinderErrorCode ERR_REAUTH_REQUIRE
'Re-authorization is required.'
-
ERR_RENAME
public static final EElfinderErrorCode ERR_RENAME
-
ERR_REPLACE
public static final EElfinderErrorCode ERR_REPLACE
'Unable to replace "$1".'
-
ERR_RESIZE
public static final EElfinderErrorCode ERR_RESIZE
-
ERR_RESIZESIZE
public static final EElfinderErrorCode ERR_RESIZESIZE
-
ERR_RM
public static final EElfinderErrorCode ERR_RM
'Unable to remove "$1".'
-
ERR_RM_SRC
public static final EElfinderErrorCode ERR_RM_SRC
'Unable remove source file(s)'
-
ERR_SAVE
public static final EElfinderErrorCode ERR_SAVE
-
ERR_SEARCH_TIMEOUT
public static final EElfinderErrorCode ERR_SEARCH_TIMEOUT
'Timed out while searching "$1". Search result is partial.'
-
ERR_SESSION_EXPIRES
public static final EElfinderErrorCode ERR_SESSION_EXPIRES
-
ERR_TRGDIR_NOT_FOUND
public static final EElfinderErrorCode ERR_TRGDIR_NOT_FOUND
'Target folder "$1" not found.'
-
ERR_UNKNOWN
public static final EElfinderErrorCode ERR_UNKNOWN
-
ERR_UNKNOWN_CMD
public static final EElfinderErrorCode ERR_UNKNOWN_CMD
-
ERR_UNSUPPORT_TYPE
public static final EElfinderErrorCode ERR_UNSUPPORT_TYPE
-
ERR_UPLOAD
public static final EElfinderErrorCode ERR_UPLOAD
'Upload error.'
-
ERR_UPLOAD_FILE
public static final EElfinderErrorCode ERR_UPLOAD_FILE
'Unable to upload "$1".'
-
ERR_UPLOAD_FILE_MIME
public static final EElfinderErrorCode ERR_UPLOAD_FILE_MIME
'File type not allowed.'
-
ERR_UPLOAD_FILE_SIZE
public static final EElfinderErrorCode ERR_UPLOAD_FILE_SIZE
'File exceeds maximum allowed size.'
-
ERR_UPLOAD_NO_FILES
public static final EElfinderErrorCode ERR_UPLOAD_NO_FILES
'No files found for upload.'
-
ERR_UPLOAD_TEMP
public static final EElfinderErrorCode ERR_UPLOAD_TEMP
'Unable to make temporary file for upload.'
-
ERR_UPLOAD_TOTAL_SIZE
public static final EElfinderErrorCode ERR_UPLOAD_TOTAL_SIZE
'Data exceeds the maximum allowed size.'
-
ERR_UPLOAD_TRANSFER
public static final EElfinderErrorCode ERR_UPLOAD_TRANSFER
'"$1" transfer error.'
-
ERR_MAX_MKDIRS
public static final EElfinderErrorCode ERR_MAX_MKDIRS
'You can create up to $1 folders at one time.',
-
ERR_SAVE_OPTIMISTIC_LOCK
public static final EElfinderErrorCode ERR_SAVE_OPTIMISTIC_LOCK
File could not be saved due to another use having modified it in the meantime
-
ERR_RM_OPTIMISTIC_LOCK
public static final EElfinderErrorCode ERR_RM_OPTIMISTIC_LOCK
File could not be removed due to another use having modified it in the meantime
-
ERR_RENAME_OPTIMISTIC_LOCK
public static final EElfinderErrorCode ERR_RENAME_OPTIMISTIC_LOCK
File could not be renamed due to another use having modified it in the meantime
-
ERR_COPY_OPTIMISTIC_LOCK
public static final EElfinderErrorCode ERR_COPY_OPTIMISTIC_LOCK
File could not be copied due to another use having modified it in the meantime
-
ERR_MKDIR_OPTIMISTIC_LOCK
public static final EElfinderErrorCode ERR_MKDIR_OPTIMISTIC_LOCK
Folder could not be created due to another use having modified it in the meantime
-
ERR_MKFILE_OPTIMISTIC_LOCK
public static final EElfinderErrorCode ERR_MKFILE_OPTIMISTIC_LOCK
File could not be created due to another use having modified it in the meantime
-
ERR_RESIZE_OPTIMISTIC_LOCK
public static final EElfinderErrorCode ERR_RESIZE_OPTIMISTIC_LOCK
File could not be resized due to another use having modified it in the meantime
-
ERR_UPLOAD_OPTIMISTIC_LOCK
public static final EElfinderErrorCode ERR_UPLOAD_OPTIMISTIC_LOCK
File could not be uploaded due to another use having modified it in the meantime
-
-
Method Detail
-
values
public static EElfinderErrorCode[] 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 (EElfinderErrorCode c : EElfinderErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EElfinderErrorCode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
errorCodeName
public String errorCodeName()
The name of the error code to sent to the client.- Returns:
- The name of the error code.
-
-