Browse Source

git-svn-id: https://192.168.57.71/svn/hbghj@113 201dd7a2-ec1b-f84b-8b06-88221118ff88

ld_liufl 8 years ago
parent
commit
90ff3ad795

+ 6 - 0
gkaq/yjpt-java/trunk/java_src/com/jtgh/yjpt/common/servlet/SystemJavaAdapter.java

@@ -123,6 +123,12 @@ public class SystemJavaAdapter extends JavaAdapter {
 			}
 			result = true;
 		} catch (Exception e) {
+			long cost = System.currentTimeMillis() - start;
+			System.err.println(className + "." + method + " <EXCEPTION>cost:" + cost
+					/ 1000.0);
+			logger.info(className + "." + method + "<EXCEPTION> cost:" + cost
+					/ 1000.0);
+			e.printStackTrace();
 		} finally {
 			try {
 				if (bean instanceof BaseController) {