敏捷工具
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.

23 lines
476 B

2 years ago
  1. package com.whn.hellospring.common;
  2. /**
  3. * 功能描述:异常类
  4. */
  5. public class StatusException extends Exception {
  6. public StateMessage stateMessage;
  7. public StatusException(StateMessage stateMessage) {
  8. super();
  9. this.stateMessage = stateMessage;
  10. }
  11. public StateMessage getStateMessage() {
  12. return stateMessage;
  13. }
  14. public void setStateMessage(StateMessage stateMessage) {
  15. this.stateMessage = stateMessage;
  16. }
  17. }