Package ai.extend.types
Enum EditErrorCode
- java.lang.Object
-
- java.lang.Enum<EditErrorCode>
-
- ai.extend.types.EditErrorCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EditErrorCode>
public enum EditErrorCode extends java.lang.Enum<EditErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CORRUPT_FILEFAILED_TO_CONVERT_TO_PDFFILE_SIZE_TOO_LARGEFILE_TYPE_NOT_SUPPORTEDINTERNAL_ERRORINVALID_CONFIG_OPTIONSPASSWORD_PROTECTED_FILESCHEMA_VALIDATION_FAILEDUNABLE_TO_DOWNLOAD_FILE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static EditErrorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EditErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_CONFIG_OPTIONS
public static final EditErrorCode INVALID_CONFIG_OPTIONS
-
UNABLE_TO_DOWNLOAD_FILE
public static final EditErrorCode UNABLE_TO_DOWNLOAD_FILE
-
FILE_TYPE_NOT_SUPPORTED
public static final EditErrorCode FILE_TYPE_NOT_SUPPORTED
-
FILE_SIZE_TOO_LARGE
public static final EditErrorCode FILE_SIZE_TOO_LARGE
-
CORRUPT_FILE
public static final EditErrorCode CORRUPT_FILE
-
PASSWORD_PROTECTED_FILE
public static final EditErrorCode PASSWORD_PROTECTED_FILE
-
FAILED_TO_CONVERT_TO_PDF
public static final EditErrorCode FAILED_TO_CONVERT_TO_PDF
-
SCHEMA_VALIDATION_FAILED
public static final EditErrorCode SCHEMA_VALIDATION_FAILED
-
INTERNAL_ERROR
public static final EditErrorCode INTERNAL_ERROR
-
-
Method Detail
-
values
public static EditErrorCode[] 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 (EditErrorCode c : EditErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EditErrorCode valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<EditErrorCode>
-
-