public enum I18n extends Enum<I18n>
MessageFormat
Modifier and Type | Method and Description |
---|---|
static String |
err(I18n err,
Object... args)
Translate an error code with argument(s)
|
String |
getErrorCode() |
static String |
msg(String msg,
Object... args)
Translate a message with argument(s)
|
static I18n |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static I18n[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final I18n ERR_112_COULD_NOT_CREATE_DIRECTORY
public static final I18n ERR_113_COULD_NOT_DELETE_FILE_OR_DIRECTORY
public static final I18n ERR_215_CANNOT_STORE_CLONED_SERVER_ENTRY
public static final I18n ERR_216_ID_FOR_PARENT_NOT_FOUND
public static final I18n ERR_241_CANNOT_STORE_COLLECTIVE_ATT_IN_ENTRY
public static final I18n ERR_250_ENTRY_ALREADY_EXISTS
public static final I18n ERR_251_PARENT_NOT_FOUND
public static final I18n ERR_252_ALIAS_WITH_CHILD_NOT_ALLOWED
public static final I18n ERR_254_ADD_EXISTING_VALUE
public static final I18n ERR_256_NO_SUCH_OBJECT
public static final I18n ERR_257_COLLECTIVE_SUBENTRY_WITHOUT_COLLECTIVE_AT
public static final I18n ERR_272_MODIFY_LEAVES_NO_STRUCTURAL_OBJECT_CLASS
public static final I18n ERR_326_NEW_SUPERIROR_CANNOT_BE_NULL
public static final I18n ERR_327_MOVE_AND_RENAME_OPERATION
public static final I18n ERR_539_BAD_BLOCK_ID
public static final I18n ERR_726_FILE_UNDELETABLE
public static final I18n ERR_734_CANNOT_ENCODE_KRBERROR
public static final I18n ERR_735_CANNOT_ENCODE_KRBSAFEBODY
public static final I18n ERR_736_CANNOT_ENCODE_KRBSAFE
public static final I18n ERR_737_CANNOT_ENCODE_ENC_KRB_PRIV_PART
public static final I18n ERR_738_CANNOT_ENCODE_KRB_PRIV
public static final I18n ERR_739_CANNOT_ENCODE_KRB_CRED_INFO
public static final I18n ERR_740_CANNOT_ENCODE_ENC_KRB_CRED_PART
public static final I18n ERR_741_CANNOT_ENCODE_KRB_CRED
public static final I18n ERR_742_CANNOT_ENCODE_ENC_TICKET_PART
public static final I18n ERR_743_CANNOT_ENCODE_TYPED_DATA
public static final I18n ERR_744_NULL_PDU_LENGTH
public static final I18n ERR_745_NOT_A_KERBEROS_STRING
public static I18n[] values()
for (I18n c : I18n.values()) System.out.println(c);
public static I18n valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getErrorCode()
public static String err(I18n err, Object... args)
err
- The error codeargs
- The argument(s)Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.