柯桥增值式服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
434B

  1. package com.ningdatech.kqapi.common.exception;
  2. /**
  3. * 异常接口类
  4. *
  5. * @author WendyYang
  6. * @version 1.0
  7. */
  8. public interface BaseException {
  9. /**
  10. * 统一参数验证异常码
  11. */
  12. int BASE_VALID_PARAM = -9;
  13. /**
  14. * 返回异常信息
  15. *
  16. * @return 异常信息
  17. */
  18. String getMessage();
  19. /**
  20. * 返回异常编码
  21. *
  22. * @return 异常编码
  23. */
  24. int getCode();
  25. }