Enum EElfinderErrorCode
- All Implemented Interfaces:
Serializable, Comparable<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 ConstantsEnum ConstantDescriptionFile could not be copied due to another use having modified it in the meantime'File named "$1" already exists.''File not found.''Invalid folder name.''Invalid file name.''"$1" is locked and can not be renamed, moved or removed.''You can create up to $1 folders at one time.','Max number of selectable items is $1.'Folder could not be created due to another use having modified it in the meantimeFile could not be created due to another use having modified it in the meantime'Unable to create a link to outside the volume root.'Object "$1" already exists at this location and can not be replaced with object of another type.'Re-authorization is required.'File could not be renamed due to another use having modified it in the meantime'Unable to replace "$1".'File could not be resized due to another use having modified it in the meantime'Unable to remove "$1".'File could not be removed due to another use having modified it in the meantime'Unable remove source file(s)'File could not be saved due to another use having modified it in the meantime'Timed out while searching "$1".'Target folder "$1" not found.''Upload error.''Unable to upload "$1".''File type not allowed.''File exceeds maximum allowed size.''No files found for upload.'File could not be uploaded due to another use having modified it in the meantime'Unable to make temporary file for upload.''Data exceeds the maximum allowed size.''"$1" transfer error.' -
Method Summary
Modifier and TypeMethodDescriptionThe name of the error code to sent to the client.static EElfinderErrorCodeReturns 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 Details
-
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_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_TARGTES
'Max number of selectable items is $1.' -
ERR_MKDIR
-
ERR_MKFILE
-
ERR_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_REPLACE
'Unable to replace "$1".' -
ERR_RESIZE
-
ERR_RESIZESIZE
-
ERR_RM
'Unable to remove "$1".' -
ERR_RM_SRC
'Unable remove source file(s)' -
ERR_SAVE
-
ERR_SEARCH_TIMEOUT
'Timed out while searching "$1". Search result is partial.' -
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_TEMP
'Unable to make temporary file for upload.' -
ERR_UPLOAD_TOTAL_SIZE
'Data exceeds the maximum allowed size.' -
ERR_UPLOAD_TRANSFER
'"$1" transfer error.' -
ERR_MAX_MKDIRS
'You can create up to $1 folders at one time.', -
ERR_SAVE_OPTIMISTIC_LOCK
File could not be saved due to another use having modified it in the meantime -
ERR_RM_OPTIMISTIC_LOCK
File could not be removed due to another use having modified it in the meantime -
ERR_RENAME_OPTIMISTIC_LOCK
File could not be renamed due to another use having modified it in the meantime -
ERR_COPY_OPTIMISTIC_LOCK
File could not be copied due to another use having modified it in the meantime -
ERR_MKDIR_OPTIMISTIC_LOCK
Folder could not be created due to another use having modified it in the meantime -
ERR_MKFILE_OPTIMISTIC_LOCK
File could not be created due to another use having modified it in the meantime -
ERR_RESIZE_OPTIMISTIC_LOCK
File could not be resized due to another use having modified it in the meantime -
ERR_UPLOAD_OPTIMISTIC_LOCK
File could not be uploaded due to another use having modified it in the meantime
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
The name of the error code to sent to the client.- Returns:
- The name of the error code.
-