Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YZG
yzg-util
Commits
5d966b41
Commit
5d966b41
authored
Aug 12, 2021
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改实例化关系
parent
51fe657b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
HttpCodeException.java
...ava/com/yanzuoguang/util/exception/HttpCodeException.java
+8
-8
RuntimeCodeException.java
.../com/yanzuoguang/util/exception/RuntimeCodeException.java
+8
-8
No files found.
yzg-util-base/src/main/java/com/yanzuoguang/util/exception/HttpCodeException.java
View file @
5d966b41
...
@@ -29,8 +29,8 @@ public class HttpCodeException extends RuntimeCodeException {
...
@@ -29,8 +29,8 @@ public class HttpCodeException extends RuntimeCodeException {
/**
/**
* 构造函数
* 构造函数
* throw new CodeException("01","该订单已过期",order);
* throw new
Http
CodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order);
* throw new
Http
CodeException("02","该订单未到使用时间",order);
*
*
* @param message 错误消息
* @param message 错误消息
* @param target 错误数据源,如订单数据
* @param target 错误数据源,如订单数据
...
@@ -41,8 +41,8 @@ public class HttpCodeException extends RuntimeCodeException {
...
@@ -41,8 +41,8 @@ public class HttpCodeException extends RuntimeCodeException {
/**
/**
* 构造函数
* 构造函数
* throw new CodeException("01","该订单已过期",order);
* throw new
Http
CodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order);
* throw new
Http
CodeException("02","该订单未到使用时间",order);
*
*
* @param message 错误消息
* @param message 错误消息
* @param target 错误数据源,如订单数据
* @param target 错误数据源,如订单数据
...
@@ -57,8 +57,8 @@ public class HttpCodeException extends RuntimeCodeException {
...
@@ -57,8 +57,8 @@ public class HttpCodeException extends RuntimeCodeException {
/**
/**
* 构造函数
* 构造函数
* throw new CodeException("01","该订单已过期",order);
* throw new
Http
CodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order);
* throw new
Http
CodeException("02","该订单未到使用时间",order);
*
*
* @param code 错误码
* @param code 错误码
* @param message 错误消息
* @param message 错误消息
...
@@ -70,8 +70,8 @@ public class HttpCodeException extends RuntimeCodeException {
...
@@ -70,8 +70,8 @@ public class HttpCodeException extends RuntimeCodeException {
/**
/**
* 构造函数
* 构造函数
* throw new CodeException("01","该订单已过期",order);
* throw new
Http
CodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order);
* throw new
Http
CodeException("02","该订单未到使用时间",order);
*
*
* @param code 错误码
* @param code 错误码
* @param message 错误消息
* @param message 错误消息
...
...
yzg-util-base/src/main/java/com/yanzuoguang/util/exception/RuntimeCodeException.java
View file @
5d966b41
...
@@ -56,8 +56,8 @@ public class RuntimeCodeException extends RuntimeException {
...
@@ -56,8 +56,8 @@ public class RuntimeCodeException extends RuntimeException {
/**
/**
* 构造函数
* 构造函数
* throw new CodeException("01","该订单已过期",order);
* throw new
Runtime
CodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order);
* throw new
Runtime
CodeException("02","该订单未到使用时间",order);
*
*
* @param message 错误消息
* @param message 错误消息
* @param target 错误数据源,如订单数据
* @param target 错误数据源,如订单数据
...
@@ -69,8 +69,8 @@ public class RuntimeCodeException extends RuntimeException {
...
@@ -69,8 +69,8 @@ public class RuntimeCodeException extends RuntimeException {
/**
/**
* 构造函数
* 构造函数
* throw new CodeException("01","该订单已过期",order);
* throw new
Runtime
CodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order);
* throw new
Runtime
CodeException("02","该订单未到使用时间",order);
*
*
* @param message 错误消息
* @param message 错误消息
* @param target 错误数据源,如订单数据
* @param target 错误数据源,如订单数据
...
@@ -86,8 +86,8 @@ public class RuntimeCodeException extends RuntimeException {
...
@@ -86,8 +86,8 @@ public class RuntimeCodeException extends RuntimeException {
/**
/**
* 构造函数
* 构造函数
* throw new CodeException("01","该订单已过期",order);
* throw new
Runtime
CodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order);
* throw new
Runtime
CodeException("02","该订单未到使用时间",order);
*
*
* @param code 错误码
* @param code 错误码
* @param message 错误消息
* @param message 错误消息
...
@@ -101,8 +101,8 @@ public class RuntimeCodeException extends RuntimeException {
...
@@ -101,8 +101,8 @@ public class RuntimeCodeException extends RuntimeException {
/**
/**
* 构造函数
* 构造函数
* throw new CodeException("01","该订单已过期",order);
* throw new
Runtime
CodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order);
* throw new
Runtime
CodeException("02","该订单未到使用时间",order);
*
*
* @param code 错误码
* @param code 错误码
* @param message 错误消息
* @param message 错误消息
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment