Commit 8f0cae2f authored by yanzg's avatar yanzg

将源码打包进jar包

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