问题 I have different Exception category Enum as below public enum GSBBCacheCategory { SEARCH(9001), UPDATE_PERSECURITY(9002), CROSS_REFERENCING_PERSECURITY(9003), METADATA_SEARCH(9004), REMOVEALL(9005), UPDATE_BACKOFFICE(9002); private int exceptionCode; GSBBCacheCategory(int exceptionCode) { this.exceptionCode = exceptionCode; } public int getExceptionCode() { return exceptionCode; } } public enum GSBBEncryptionCategory { . . . } I want to provide one place to access these Enum in client code.