1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| package com.nanometer.smartlab.exception;
|
| import java.io.Serializable;
|
| public enum ExceptionEnumCode implements Serializable {
| OK("00"),
| SYS_ERR("01"),
| DB_ERR("02"),
| PARAM_NULL("1001"),
| PARAM_ERR("1002"),
| PARAM_NO_EXIST("1003"),
| PARAM_EXIST("1004"),
| REAGENT_CODE_EXIST("2001"),
| REAGENT_CODE_INVALID("2002"),
| MAIL_SEND_FAIL("3001"),
| ORDER_ERROR("4001"),
| APPLY_NUM_OVER("55555");
|
|
| private String code;
|
| ExceptionEnumCode(String code) {
| this.code = code;
| }
|
| public String getCode() {
|
| return this.code;
| }
| }
|
|