Java提供了两类主要的异常:runtime exception和checked exception。checked 异常也就是我们经常遇到的IO异常,以及SQL异常都是这种异常。对于这种异常,JAVA编译器强制要求我们必需对出现的这些异常进行catch。所以,面对这种异常不管我们是否愿意,只能自己...
分类:
其他好文 时间:
2015-03-02 14:26:49
阅读次数:
126
整体结构:
java.lang.Throwable
java.lang.Error
java.lang.Exception
java.lang.RuntimeException
编译时异常为受检异常(checked)
1.异常:程序在执行过程中发生的不正常情...
分类:
编程语言 时间:
2015-03-02 09:33:40
阅读次数:
183
java提供异常处理机制中,可以分为RuntimeException和checked Exception两种.RuntimeException 是运行时异常,是程序本身无法解决的.例如,对于一个用户注册网站,如果当前用户名已经被使用,则解决方案只能是当前用户使用新的用户名, 而程序本身是无法解...
分类:
编程语言 时间:
2015-03-02 09:27:29
阅读次数:
160
Pagenotfound...yet!NoneoftheseroutescouldgeneratearesponseforyourPOSTrequestfor/login,maybeyouneed
toaddanewone?$r->post(‘/login‘)->to(‘PostPage#login‘);debug提示:。。。不知道是咋的模版居然会多了下划线
Template"post_page/login.html.ep"notfound.把Post..
对于untracked file, 可以使用.gitignore对于已经checked in file,可以使用git update-index #隐藏 git update-index --assume-unchanged xxxxxxxx #放开 git update-index --no-as...
分类:
其他好文 时间:
2015-02-28 16:17:10
阅读次数:
118
一、在项目中遇到的CheckBox的全选和取消全选以及其他等解决方案如下: // 对全选和取消全选的事件 $("#CheckAll").click(function () { var checkedOfAll = $(this).prop("checked"); if (checke...
分类:
Web程序 时间:
2015-02-28 15:55:23
阅读次数:
162
$('#checkbox').attr('checked'); 返回的是checked或者是undefined,不是原来的true和false了,有关此问题的解决方法如下:只要把 attr 改成 prop 就好了分析其中的原因,可以这样理解:它将“属性”与“特性”做了区别,属性指的是“name,id...
分类:
Web程序 时间:
2015-02-28 11:20:43
阅读次数:
148
$("input:radio[name='Type']:checked").length > 0$("input:check[name='Type']:checked").length > 0
分类:
其他好文 时间:
2015-02-28 10:12:29
阅读次数:
97
Problem DescriptionCC always becomes very depressed at the end of this month, he has checked his credit card yesterday, without any surprise, there ar...
分类:
其他好文 时间:
2015-02-27 16:43:41
阅读次数:
154
Today is the first workday after new year vocation.I read "Towards AI-complete QA" in the morning and spent about 1.5 h. Not finish yet.I processed WM...
分类:
其他好文 时间:
2015-02-26 22:54:09
阅读次数:
180