1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package com.yeshi.fanli.exception;
|
| public class ObjectStateException extends Exception {
| private static final long serialVersionUID = 8576781914864365552L;
| private String msg;
|
| public ObjectStateException() {
|
| }
|
| public ObjectStateException(String error) {
| this.msg=error;
| }
|
| @Override
| public String getMessage() {
| return this.msg;
| }
|
|
| }
|
|