类 ErrorCode


  • public class ErrorCode
    extends Object
    系统所有返回编码的管理工具,所有的常量都应该用该类实现。该类整合了国际化操作,所有需要国际化的信息都应该使用该类 All of the system's return code management tools, all of the constants should be implemented using this class. This class integrates internationalization operations, and all information that needs internationalization should be used.
    • 构造器详细资料

      • ErrorCode

        public ErrorCode()
      • ErrorCode

        protected ErrorCode​(String code)
    • 方法详细资料

      • getMsg

        public String getMsg()
        根据系统语言设置,返回国际化编码对应的字符串 According to the system language Settings, return the string corresponding to the internationalization encoding.
        返回:
        String
      • getCode

        public String getCode()