91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

達內課程項目云筆記項目,采用SSM框架,完整實現云筆記功能,代碼注釋詳細,結構清晰,方便學習模仿

資源截圖

代碼片段和文件信息

package?org.tedu.cloudnote.aop;

import?java.io.FileWriter;
import?java.io.PrintWriter;

import?org.aspectj.lang.annotation.AfterThrowing;
import?org.aspectj.lang.annotation.Aspect;
import?org.springframework.stereotype.Component;

@Component(“handlerException“)//掃描等價于
@Aspect//定義為切面等價于
public?class?HandlerException?{
//定義異常通知等價于
@AfterThrowing(throwing=“ex“
pointcut=“within(org.tedu.cloudnote.controller..*)“)
public?void?execute(Exception?ex){
//將異常信息記錄文件ex就是目標拋出的異常對象
try{
FileWriter??fw?=?new?FileWriter(
“cloud_note.log“true);
PrintWriter?out?=?new?PrintWriter(fw);
//利用Out打印一個頭部
// ****************************************
// *時間:2016-03-22?11:04:23??????????????*?
// *類型:java.lang.NullPointerException???*
// ****************************************
//將異常棧信息寫入cloud_note.log文件
ex.printStackTrace(out);
out.close();
fw.close();
}catch(Exception?e){
System.out.println(“記錄異常信息失敗“);
}
}

}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-07-15?13:48??cloudnote\
?????文件????????2594??2016-03-14?09:55??cloudnote\.classpath
?????目錄???????????0??2018-07-15?13:48??cloudnote\.myeclipse\
?????文件?????????301??2016-03-11?16:38??cloudnote\.mymetadata
?????文件????????1282??2016-03-12?09:23??cloudnote\.project
?????目錄???????????0??2018-07-15?13:47??cloudnote\.settings\
?????文件????????1040??2016-03-11?16:38??cloudnote\.settings\com.genuitec.eclipse.j2eedt.core.prefs
?????文件?????????427??2016-03-18?16:06??cloudnote\.settings\org.eclipse.core.resources.prefs
?????文件?????????330??2016-03-11?16:35??cloudnote\.settings\org.eclipse.jdt.core.prefs
?????目錄???????????0??2018-07-15?13:47??cloudnote\WebRoot\
?????文件????????3586??2016-03-11?16:39??cloudnote\WebRoot\Change_password.html
?????目錄???????????0??2018-07-15?13:47??cloudnote\WebRoot\meta-INF\
?????文件??????????36??2016-03-11?16:35??cloudnote\WebRoot\meta-INF\MANIFEST.MF
?????目錄???????????0??2018-07-15?13:47??cloudnote\WebRoot\WEB-INF\
?????目錄???????????0??2018-07-15?13:47??cloudnote\WebRoot\WEB-INF\lib\
?????文件????????4467??2014-06-19?17:17??cloudnote\WebRoot\WEB-INF\lib\aopalliance.jar
?????文件?????1545023??2014-06-19?17:25??cloudnote\WebRoot\WEB-INF\lib\aspectjweaver.jar
?????文件??????263965??2016-04-15?12:38??cloudnote\WebRoot\WEB-INF\lib\commons-codec-1.9.jar
?????文件??????559366??2014-06-04?14:49??cloudnote\WebRoot\WEB-INF\lib\commons-collections-3.1.jar
?????文件??????121757??2014-06-04?14:49??cloudnote\WebRoot\WEB-INF\lib\commons-dbcp-1.2.2.jar
?????文件???????60841??2014-06-03?15:20??cloudnote\WebRoot\WEB-INF\lib\commons-logging.jar
?????文件???????62103??2014-06-04?14:49??cloudnote\WebRoot\WEB-INF\lib\commons-pool.jar
?????文件???????38604??2014-06-25?14:29??cloudnote\WebRoot\WEB-INF\lib\jackson-annotations-2.4.1.jar
?????文件??????225306??2014-06-25?14:27??cloudnote\WebRoot\WEB-INF\lib\jackson-core-2.4.1.jar
?????文件?????1074275??2014-06-25?14:30??cloudnote\WebRoot\WEB-INF\lib\jackson-databind-2.4.1.jar
?????文件???????17809??2014-06-04?15:40??cloudnote\WebRoot\WEB-INF\lib\jstl.jar
?????文件??????716387??2014-06-04?11:49??cloudnote\WebRoot\WEB-INF\lib\mybatis-3.2.5.jar
?????文件???????48783??2014-05-23?10:56??cloudnote\WebRoot\WEB-INF\lib\mybatis-spring-1.2.2.jar
?????文件??????723660??2014-09-01?11:29??cloudnote\WebRoot\WEB-INF\lib\mysql-connector-java-5.1.8-bin.jar
?????文件?????2111338??2014-07-02?10:14??cloudnote\WebRoot\WEB-INF\lib\ojdbc6.jar
?????文件??????337694??2014-06-19?17:10??cloudnote\WebRoot\WEB-INF\lib\spring-aop-3.2.8.RELEASE.jar
............此處省略598個文件信息

評論

共有 條評論