| | |
| | | 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;
|
| | | }
|
| | | |
| | | |
| | | }
|
| | | 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; |
| | | } |
| | | |
| | | |
| | | } |