PlatformException.java 731 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /**
  2. * @Copyright (C), 2014-2020, 杭州慧牧科技有限公司
  3. * @ClassName: RobotException
  4. * @Author: yejijie
  5. * @E-mail: yejijie@huimv.com
  6. * @Date: 2020年4月23日
  7. * @Version: V1.0
  8. * @Description:
  9. */
  10. package com.huimv.admin.common.utils;
  11. /**
  12. * @author yejijie
  13. *
  14. */
  15. public class PlatformException extends RuntimeException {
  16. /**
  17. *
  18. */
  19. private static final long serialVersionUID = 6529181147584750288L;
  20. private String errCode;
  21. private String errMsg;
  22. public PlatformException() {
  23. super();
  24. }
  25. public PlatformException(String code, String msg) {
  26. super(msg);
  27. this.errCode = code;
  28. this.errMsg = msg;
  29. }
  30. public String getErrCode() {
  31. return errCode;
  32. }
  33. public String getErrMsg() {
  34. return errMsg;
  35. }
  36. }