公告板
版本库
活动
搜索
登录
java
/
TourGuide
景区导游
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
update
liujie
2026-07-31
0cf54692efc067adca7fa4308af241f723930b58
[java/TourGuide.git]
/
backend
/
src
/
main
/
java
/
com
/
tourguide
/
common
/
exception
/
BusinessException.java
1
2
3
4
5
6
7
package com.tourguide.common.exception;
public class BusinessException extends RuntimeException {
private final int code;
public BusinessException(int code, String message) { super(message); this.code = code; }
public int getCode() { return code; }
}