摘要: public class ExceptionPitfall { public static void main(String[] args) { try { throw new RuntimeException(); } finally { return; ... 阅读全文
posted @ 2017-03-15 22:48 Always_July 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Java异常抛出使用e.printStackTrace(),打印出抛出的异常栈踪迹, 如果你在catch中继续抛出这个异常,那么e.printStackTrace()也能跟踪到抛出异常的地方, 使用throw new RunTimeException(e.fillInStackTrace()),改变 阅读全文
posted @ 2017-03-15 22:35 Always_July 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 使用ajax请求数据 $.ajax({ 阅读全文
posted @ 2017-03-15 17:54 Always_July 阅读(6143) 评论(0) 推荐(0) 编辑