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
31
32
33
34
| package com.yami.trading.common.exception;
|
| public class BusinessException extends RuntimeException {
|
| private static final long serialVersionUID = 1877734890673094989L;
|
| private int sign;
|
| public BusinessException(int sign, String message) {
| super(message);
| this.sign = sign;
| }
|
| public BusinessException(String message, Throwable cause) {
| super(message, cause);
| }
|
| public BusinessException(String message) {
| super(message);
| }
|
| public BusinessException(Throwable cause) {
| super(cause);
| }
|
| public int getSign() {
| return sign;
| }
|
| public void setSign(int sign) {
| this.sign = sign;
| }
|
| }
|
|