Package com.easydesk.localization.enums
Enum Class ExceptionL10NKey
- All Implemented Interfaces:
LocalizableKey,Serializable,Comparable<ExceptionL10NKey>,Constable
Java 코드에서 쓰는 resource key 모음 (EasyDeskExceptionBundle_ko.properties). bundle 의 key 마다 상수가 하나씩 있고, 상수 이름은 key 를 대문자 +
'_' 로 바꾼 것이다 (예:
MovedFromItemDescription -> MOVED_FROM_ITEM_DESCRIPTION).
toString() 은 실제 bundle key 를 돌려준다.
service.getString(locale, L10NKey.ACCEPT); // "Accept"
service.format(new L10NMessage(L10NKey.MOVED_FROM_ITEM_DESCRIPTION, args), locale);
L10NKey.fromKey("Accept"); // L10NKey.ACCEPT
- Author:
- 조 영 호
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExceptionActivitySetDuplicateTypename , parameters : 1ExceptionActivitySetInProgress , parameters : 3ExceptionActivitySetTypenameNotFound , parameters : 1ExceptionAddTextBook , parameters : 1ExceptionAttachementDuplicateTypename , parameters : 1ExceptionCanNotFindRequestTab , parameters : 1ExceptionCanNotSaveAttributeValue , parameters : 1ExceptionCantChainAttributeValues , parameters : 2ExceptionCantChainItems , parameters : 2ExceptionCantPropagateModuleCode , parameters : 1ExceptionClassNotFound , parameters : 2ExceptionCommentSavedButErrors , parameters : 1ExceptionComponentLocator , parameters : 2ExceptionConditionValidate , parameters : 1ExceptionDependInternalWorkflow , parameters : 2ExceptionDuplicateAttributeTypeName , parameters : 1ExceptionDuplicateItemType , parameters : 2ExceptionDuplicateQuizNumber , parameters : 1ExceptionDuplicateUsername , parameters : 1ExceptionEasyDeskCacheService , parameters : 1ExceptionEmailFailure , parameters : 1ExceptionExternalPayment , parameters : 1ExceptionFailToCheckCanMakeTransition , parameters : 4ExceptionFailToGetParentCondition , parameters : 1ExceptionFailedToDeleteIdentifierList , parameters : 1ExceptionFailedToReadIdentifierList , parameters : 1ExceptionFileDoesNotExists , parameters : 1ExceptionGeneric , parameters : 1ExceptionGroupDeleteForbidden , parameters : 2ExceptionHtmlConverterError , parameters : 1ExceptionHwp2HtmlDocumentParseError , parameters : 1ExceptionIllegalAccess , parameters : 2ExceptionIncompatibleItemIds , parameters : 2ExceptionInstantiation , parameters : 2ExceptionIntegrityCheckFailure , parameters : 3ExceptionInvalidItemType , parameters : 1ExceptionLookupGlobalCache , parameters : 1ExceptionLucene , parameters : 2ExceptionMaxConcurrentSearch , parameters : 2ExceptionMaxdateBeforeMindate , parameters : 2ExceptionModuleAllreadyExists , parameters : 2ExceptionMultipleAttValues , parameters : 1ExceptionMultipleAttachments , parameters : 1ExceptionMultipleProblems , parameters : 3ExceptionMultipleReports , parameters : 1ExceptionMultipleUserUnallowedForOneEmailAddress , parameters : 1ExceptionMultipleVoteForUnallowed , parameters : 2ExceptionNoAttributePermission , parameters : 1ExceptionOptionNotFound , parameters : 2ExceptionParseError , parameters : 2ExceptionRetrievingItemId , parameters : 1ExceptionSystemSearchTypeNeedToShowAttributes , parameters : 1ExceptionToGetNotificationEventByName , parameters : 1ExceptionTooManyCouponItem , parameters : 1ExceptionTorqueGeneric , parameters : 1ExceptionUrlDescSavedButErrors , parameters : 1ExceptionValidationFailure , parameters : 1ExceptionXMLExportingItem , parameters : 1 -
Method Summary
Modifier and TypeMethodDescriptionstatic ExceptionL10NKeybundle key 로 상수를 찾는다.getKey()toString()static ExceptionL10NKeyReturns the enum constant of this class with the specified name.static ExceptionL10NKey[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXCEPTION_ACTIVITY_SET_DUPLICATE_TYPENAME
ExceptionActivitySetDuplicateTypename , parameters : 1 -
EXCEPTION_ACTIVITY_SET_IN_PROGRESS
ExceptionActivitySetInProgress , parameters : 3 -
EXCEPTION_ACTIVITY_SET_TYPENAME_NOT_FOUND
ExceptionActivitySetTypenameNotFound , parameters : 1 -
EXCEPTION_ADD_TEXT_BOOK
ExceptionAddTextBook , parameters : 1 -
EXCEPTION_ATTACHEMENT_DUPLICATE_TYPENAME
ExceptionAttachementDuplicateTypename , parameters : 1 -
EXCEPTION_CAN_NOT_FIND_REQUEST_TAB
ExceptionCanNotFindRequestTab , parameters : 1 -
EXCEPTION_CAN_NOT_FIND_TEXT_BOOK_GROUP
-
EXCEPTION_CAN_NOT_SAVE_ATTRIBUTE_VALUE
ExceptionCanNotSaveAttributeValue , parameters : 1 -
EXCEPTION_CAN_NOT_START_ACTIVITY_SET
-
EXCEPTION_CANT_CHAIN_ATTRIBUTE_VALUES
ExceptionCantChainAttributeValues , parameters : 2 -
EXCEPTION_CANT_CHAIN_ITEMS
ExceptionCantChainItems , parameters : 2 -
EXCEPTION_CANT_PROPAGATE_MODULE_CODE
ExceptionCantPropagateModuleCode , parameters : 1 -
EXCEPTION_CLASS_NOT_FOUND
ExceptionClassNotFound , parameters : 2 -
EXCEPTION_COMMENT_SAVED_BUT_ERRORS
ExceptionCommentSavedButErrors , parameters : 1 -
EXCEPTION_COMPONENT_LOCATOR
ExceptionComponentLocator , parameters : 2 -
EXCEPTION_CONDITION_VALIDATE
ExceptionConditionValidate , parameters : 1 -
EXCEPTION_CRYPTO_BAD_PADDING_ERROR
-
EXCEPTION_DATABASE_GENERIC_ERROR
-
EXCEPTION_DELETE_OPTION_FROM_LOCKED_ITEM_TYPE
-
EXCEPTION_DEPEND_INTERNAL_WORKFLOW
ExceptionDependInternalWorkflow , parameters : 2 -
EXCEPTION_DOCUMENT_PARSE_ERROR
-
EXCEPTION_DUPLICATE_ATTRIBUTE_TYPE_NAME
ExceptionDuplicateAttributeTypeName , parameters : 1 -
EXCEPTION_DUPLICATE_ITEM_TYPE
ExceptionDuplicateItemType , parameters : 2 -
EXCEPTION_DUPLICATE_QUIZ_NUMBER
ExceptionDuplicateQuizNumber , parameters : 1 -
EXCEPTION_DUPLICATE_USERNAME
ExceptionDuplicateUsername , parameters : 1 -
EXCEPTION_EASY_DESK_CACHE_SERVICE
ExceptionEasyDeskCacheService , parameters : 1 -
EXCEPTION_EMAIL_FAILURE
ExceptionEmailFailure , parameters : 1 -
EXCEPTION_EXTERNAL_PAYMENT
ExceptionExternalPayment , parameters : 1 -
EXCEPTION_EXTERNAL_PAYMENT_SERVER_CONNECTION_FAIL
-
EXCEPTION_FAIL_TO_CHECK_CAN_MAKE_TRANSITION
ExceptionFailToCheckCanMakeTransition , parameters : 4 -
EXCEPTION_FAIL_TO_GET_PARENT_CONDITION
ExceptionFailToGetParentCondition , parameters : 1 -
EXCEPTION_FAILED_TO_DELETE_IDENTIFIER_LIST
ExceptionFailedToDeleteIdentifierList , parameters : 1 -
EXCEPTION_FAILED_TO_READ_IDENTIFIER_LIST
ExceptionFailedToReadIdentifierList , parameters : 1 -
EXCEPTION_FAILED_TO_SEND_NOTIFICATION
-
EXCEPTION_FILE_DOES_NOT_EXISTS
ExceptionFileDoesNotExists , parameters : 1 -
EXCEPTION_FORBIDDEN_HOME_MODULE_NOT_READY
-
EXCEPTION_GENERIC
ExceptionGeneric , parameters : 1 -
EXCEPTION_GET_USER_IDS_NOT_IMPLEMENTED
-
EXCEPTION_GROUP_DELETE_FORBIDDEN
ExceptionGroupDeleteForbidden , parameters : 2 -
EXCEPTION_HTML_CONVERTER_ERROR
ExceptionHtmlConverterError , parameters : 1 -
EXCEPTION_HTML_CONVERTER_NOT_SERVIABLE
-
EXCEPTION_HWP2_HTML_DOCUMENT_PARSE_ERROR
ExceptionHwp2HtmlDocumentParseError , parameters : 1 -
EXCEPTION_ILLEGAL_ACCESS
ExceptionIllegalAccess , parameters : 2 -
EXCEPTION_ILLEGAL_ATTEMPT
-
EXCEPTION_INCOMPATIBLE_ITEM_IDS
ExceptionIncompatibleItemIds , parameters : 2 -
EXCEPTION_INCOMPATIBLE_MIT_LIST_CHANGES
-
EXCEPTION_INSTANTIATION
ExceptionInstantiation , parameters : 2 -
EXCEPTION_INTEGRITY_CHECK_FAILURE
ExceptionIntegrityCheckFailure , parameters : 3 -
EXCEPTION_INVALID_ITEM_TYPE
ExceptionInvalidItemType , parameters : 1 -
EXCEPTION_ITEM_SHOULD_BE_SAVED_FIRST
-
EXCEPTION_LOOKUP_GLOBAL_CACHE
ExceptionLookupGlobalCache , parameters : 1 -
EXCEPTION_LUCENE
ExceptionLucene , parameters : 2 -
EXCEPTION_MAX_CONCURRENT_SEARCH
ExceptionMaxConcurrentSearch , parameters : 2 -
EXCEPTION_MAXDATE_BEFORE_MINDATE
ExceptionMaxdateBeforeMindate , parameters : 2 -
EXCEPTION_MODULE_ALLREADY_EXISTS
ExceptionModuleAllreadyExists , parameters : 2 -
EXCEPTION_MULTIPLE_ATT_VALUES
ExceptionMultipleAttValues , parameters : 1 -
EXCEPTION_MULTIPLE_ATTACHMENTS
ExceptionMultipleAttachments , parameters : 1 -
EXCEPTION_MULTIPLE_JD_MS
-
EXCEPTION_MULTIPLE_PROBLEMS
ExceptionMultipleProblems , parameters : 3 -
EXCEPTION_MULTIPLE_REPORTS
ExceptionMultipleReports , parameters : 1 -
EXCEPTION_MULTIPLE_USER_UNALLOWED_FOR_ONE_EMAIL_ADDRESS
ExceptionMultipleUserUnallowedForOneEmailAddress , parameters : 1 -
EXCEPTION_MULTIPLE_VOTE_FOR_UNALLOWED
ExceptionMultipleVoteForUnallowed , parameters : 2 -
EXCEPTION_NEED_TO_SAVE_ATTACHEMENT
-
EXCEPTION_NO_ATTRIBUTE_PERMISSION
ExceptionNoAttributePermission , parameters : 1 -
EXCEPTION_NO_USER_REGISTER_INFO_FROM_SESSION
-
EXCEPTION_NOT_CONTINUE_QUIZ_NUMBER
-
EXCEPTION_NOT_CONTINUE_QUIZ_NUMBER_IN_A_PAGE
-
EXCEPTION_NOT_CONTINUE_SHEET_NUMBER
-
EXCEPTION_NULL_ITEM_FORBIDDEN
-
EXCEPTION_NULL_ITEM_TYPE_FORBIDDEN
-
EXCEPTION_NULL_REPORT_FORBIDDEN
-
EXCEPTION_OPTION_NOT_FOUND
ExceptionOptionNotFound , parameters : 2 -
EXCEPTION_PARSE_ERROR
ExceptionParseError , parameters : 2 -
EXCEPTION_PATH_NOT_SET
-
EXCEPTION_QUERY_TOO_COMPLEX
-
EXCEPTION_RETRIEVING_ITEM_ID
ExceptionRetrievingItemId , parameters : 1 -
EXCEPTION_SAVE_NEEDS_OWNER
-
EXCEPTION_SEARCH_ENGINE_FAIL
-
EXCEPTION_SEARCH_IS_NOT_ALLOWED
-
EXCEPTION_SHOULD_BE_CO_MEM_ONLY_TO_BE_CO_MEM
-
EXCEPTION_SHOULD_BE_TEACHER_TO_BE_OWENER
-
EXCEPTION_SYSTEM_SEARCH_TYPE_NEED_TO_SHOW_ATTRIBUTES
ExceptionSystemSearchTypeNeedToShowAttributes , parameters : 1 -
EXCEPTION_TEMPLATE_TYPE_FOR_ITEM_TYPE
-
EXCEPTION_TO_GET_NOTIFICATION_EVENT_BY_NAME
ExceptionToGetNotificationEventByName , parameters : 1 -
EXCEPTION_TO_SHOW_TEST_SHEET_BY_DOCUMENT_PARSE_ERROR
-
EXCEPTION_TOO_MANY_COUPON_ITEM
ExceptionTooManyCouponItem , parameters : 1 -
EXCEPTION_TOP_LEVEL_MODULE_WITHOUT_CODE
-
EXCEPTION_TORQUE_GENERIC
ExceptionTorqueGeneric , parameters : 1 -
EXCEPTION_TOTAL_PAGE_DOES_NOT_SET
-
EXCEPTION_URL_DESC_SAVED_BUT_ERRORS
ExceptionUrlDescSavedButErrors , parameters : 1 -
EXCEPTION_VALIDATION_FAILURE
ExceptionValidationFailure , parameters : 1 -
EXCEPTION_XML_EXPORTING_ITEM
ExceptionXMLExportingItem , parameters : 1
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException- if the argument is null
-
getKey
- Returns:
- bundle 의 key (예: "MovedFromItemDescription")
-
toString
- Overrides:
toStringin classEnum<ExceptionL10NKey>- Returns:
- bundle 의 key
-
fromKey
bundle key 로 상수를 찾는다.- Throws:
IllegalArgumentException- 그런 key 가 없을 때
-