Implement Enumerations

Setting an enumeration with specific values and retrieving the values using syntax like:
ErrorCode.valueOf(ErrorCode.EXCEEDS_LIMIT));