Commit 8f0cae2f authored by yanzg's avatar yanzg

将源码打包进jar包

parent cfb1cba2
...@@ -14,8 +14,8 @@ public class ExceptionHelper { ...@@ -14,8 +14,8 @@ public class ExceptionHelper {
/** /**
* 不跑出异常,记录日常日志 * 不跑出异常,记录日常日志
* *
* @param cls * @param cls 错误类型
* @param ex * @param ex 错误
*/ */
public static void handleException(Class<?> cls, Throwable ex) { public static void handleException(Class<?> cls, Throwable ex) {
handleException(cls, ex, null); handleException(cls, ex, null);
...@@ -35,15 +35,15 @@ public class ExceptionHelper { ...@@ -35,15 +35,15 @@ public class ExceptionHelper {
/** /**
* 异常信息输出 * 异常信息输出
* *
* @param local * @param local 字符串
* @param start * @param start 开始位置
* @param end * @param end 结束位置
* @param allSize * @param length 总长度
* @param str * @param str 结果
* @throws Exception * @throws Exception 抛出异常
*/ */
public static void subStringException(String local, int start, int end, int allSize, String str) throws Exception { public static void subStringException(String local, int start, int end, int length, String str) throws Exception {
String exception = local + "/n" + "开始:" + start + " 结束:" + end + "总长:" + allSize + "/n" + str; String exception = local + "/n" + "开始:" + start + " 结束:" + end + "总长:" + length + "/n" + str;
throw new Exception(exception); throw new Exception(exception);
} }
......
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