{"record":{"id":"9e75d14eb77b2fd5","repo":"OtterMind/Chat2DB","slug":"mysql-account-actionunsupported","errorCode":"mysql.account.actionUnsupported","errorMessage":"mysql.account.actionUnsupported","messagePattern":"mysql\\.account\\.actionUnsupported","errorType":"exception","errorClass":"BusinessException","httpStatus":null,"severity":"error","filePath":"chat2db-community-server/chat2db-community-domain/chat2db-community-domain-api/src/main/java/ai/chat2db/community/domain/api/enums/plugin/AccountActionTypeEnum.java","lineNumber":21,"sourceCode":"import ai.chat2db.community.tools.exception.BusinessException;\n\npublic enum AccountActionTypeEnum {\n    CREATE_USER,\n    ALTER_PASSWORD,\n    LOCK_ACCOUNT,\n    UNLOCK_ACCOUNT,\n    DROP_USER,\n    GRANT_PRIVILEGE,\n    REVOKE_PRIVILEGE;\n\n    public static AccountActionTypeEnum from(String value) {\n        if (value == null) {\n            throw new BusinessException(\"mysql.account.actionRequired\");\n        }\n        try {\n            return valueOf(value);\n        } catch (IllegalArgumentException e) {\n            throw new BusinessException(\"mysql.account.actionUnsupported\", null, e);\n        }\n    }\n}\n","sourceCodeStart":3,"sourceCodeEnd":25,"githubUrl":"https://github.com/OtterMind/Chat2DB/blob/5ee1e990e73fbcae1969dc554be254fedb3ab888/chat2db-community-server/chat2db-community-domain/chat2db-community-domain-api/src/main/java/ai/chat2db/community/domain/api/enums/plugin/AccountActionTypeEnum.java#L3-L25","documentation":"Error \"mysql.account.actionUnsupported\" thrown in OtterMind/Chat2DB.","triggerScenarios":"An account action string was supplied that does not map to any supported AccountActionTypeEnum constant.","commonSituations":"See trigger scenarios.","solutions":["Use one of the action types declared in AccountActionTypeEnum.","Fix the client or caller sending the unsupported action value."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5ee1e990e73fbcae1969dc554be254fedb3ab888","analyzedAt":"2026-08-14T07:05:03.077Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}