Package com.iizix.server
Enum Class IServer.InvalidAppID
- All Implemented Interfaces:
- IEnumLocaleString,- Serializable,- Comparable<IServer.InvalidAppID>,- Constable
- Enclosing interface:
- IServer
public static enum IServer.InvalidAppID extends Enum<IServer.InvalidAppID> implements IEnumLocaleString
Error enum used when validating an App ID with locale support.
The following text ID's are defined with their English texts:
- server.appid.empty = App ID is empty - server.appid.too_long = App ID is too long, maximum 64 characters is allowed - server.appid.invalid_first_char = App ID invalid first character, must be A-Z or a-z - server.appid.invalid_char = App ID contains an invalid character, only A-Z, a-z, 0-9, . (dot), and _ (underscore) are allowed
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionApp ID is empty.App ID contains an invalid character, only A-Z, a-z, 0-9, .App ID invalid first character, must be A-Z or a-z.App ID is too long, maximum 64 characters is allowed.
- Field SummaryFields
- Method SummaryModifier and TypeMethodDescriptionGets the fallback String.- getID()Gets the text ID.- static IServer.InvalidAppIDReturns the enum constant of this class with the specified name.- static IServer.InvalidAppID[]- values()Returns an array containing the constants of this enum class, in the order they are declared.- Methods inherited from class java.lang.Enum- clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf- Methods inherited from interface com.iizix.text.IEnumLocaleString- asString, asString, asString, name, ordinal, valuesList
- Enum Constant Details- EMPTYApp ID is empty.
- TOO_LONGApp ID is too long, maximum 64 characters is allowed.
- INVALID_FIRST_CHARApp ID invalid first character, must be A-Z or a-z.
- INVALID_CHARApp ID contains an invalid character, only A-Z, a-z, 0-9, . (dot), and _ (underscore) are allowed.
 
- Field Details- englishTextThe English text fallback String.
- textIDThe text ID for the message, starts with "propref.type.".
 
- Method Details- valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null
 
- getIDGets the text ID.- Specified by:
- getIDin interface- IEnumLocaleString
- Returns:
- The text ID string.
 
- getFallbackGets the fallback String.- Specified by:
- getFallbackin interface- IEnumLocaleString
- Returns:
- The fallback string.