G33Exception.java 546 B

123456789101112131415161718192021222324252627282930
  1. package com.fuzamei.common.exception;
  2. /**
  3. * @file_name: G33Exception
  4. * @Description:
  5. * @author: 刘林杰
  6. * @date: 五月 2018/5/3 10:48
  7. * @version:
  8. */
  9. public class G33Exception extends RuntimeException{
  10. private Integer code;
  11. public G33Exception(String msg) {
  12. super(msg);
  13. }
  14. public Integer getCode() {
  15. return code;
  16. }
  17. public void setCode(Integer code) {
  18. this.code = code;
  19. }
  20. public G33Exception(Integer code, String msg) {
  21. super(msg);
  22. this.code = code;
  23. }
  24. }