fix(all):细节和语义修正

This commit is contained in:
doufenghu
2018-07-19 10:19:57 +08:00
parent b55bad8343
commit 6ee382738a
33 changed files with 665 additions and 683 deletions

View File

@@ -1,9 +1,8 @@
package com.nis.restful;
import com.nis.web.service.AuditLogThread;
import org.springframework.util.StringUtils;
import com.nis.web.service.SaveRequestLogThread;
public class RestServiceException extends RuntimeException{
private int errorCode;
@@ -25,7 +24,7 @@ public class RestServiceException extends RuntimeException{
// super(message);
// this.errorCode = 998; //未知错误
// }
public RestServiceException(SaveRequestLogThread thread,long time,String message) {
public RestServiceException(AuditLogThread thread, long time, String message) {
super(message);
this.errorCode = 998; //未知错误
this.traceCode = thread.getTraceCode();
@@ -42,7 +41,7 @@ public class RestServiceException extends RuntimeException{
super(message);
this.errorCode = errorCode;
}
public RestServiceException(SaveRequestLogThread thread,long time,String message,int errorCode) {
public RestServiceException(AuditLogThread thread, long time, String message, int errorCode) {
super(message);
this.errorCode = errorCode;
this.traceCode = thread.getTraceCode();