Commit 5d966b41 authored by yanzg's avatar yanzg

修改实例化关系

parent 51fe657b
...@@ -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 HttpCodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order); * throw new HttpCodeException("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 HttpCodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order); * throw new HttpCodeException("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 HttpCodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order); * throw new HttpCodeException("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 HttpCodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order); * throw new HttpCodeException("02","该订单未到使用时间",order);
* *
* @param code  错误码 * @param code  错误码
* @param message  错误消息 * @param message  错误消息
......
...@@ -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 RuntimeCodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order); * throw new RuntimeCodeException("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 RuntimeCodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order); * throw new RuntimeCodeException("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 RuntimeCodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order); * throw new RuntimeCodeException("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 RuntimeCodeException("01","该订单已过期",order);
* throw new CodeException("02","该订单未到使用时间",order); * throw new RuntimeCodeException("02","该订单未到使用时间",order);
* *
* @param code  错误码 * @param code  错误码
* @param message  错误消息 * @param message  错误消息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment