本次内容:异常机制1、为什么需要异常2、异常3、error类4、exception类5、exception类中的unchecked
exception 举例:6、常用异常处理方法a.try注意:一个try语句块至少得带一个finally语句块或catch语句块 1 package
array; 2....
分类:
编程语言 时间:
2014-05-12 16:17:54
阅读次数:
406
XMPP/Smack/Openfire javax.net.ssl.SSLException:
Received fatal alert:
internal_error解决:1、在链接openfire服务器后,线程休眠一段时间,再进行登录login操作。connection.connect();Th...
分类:
其他好文 时间:
2014-05-10 19:39:25
阅读次数:
349
Android 加载项目失败: sdk/build-tools/android-4.4.2/aapt:
error while loading shared libraries: libz.so.1: cannot open shared object file:
No such file or ....
分类:
移动开发 时间:
2014-05-06 09:19:19
阅读次数:
418
1、ifconfig eth0 promisc 设置eth0为混杂模式。ifconfig eth0
-promisc 取消它的混杂模式botnet@botnet-virtual-machine:~$ ifconfigeth0 Link
encap:Ethernet HWaddr 00:0...
分类:
其他好文 时间:
2014-05-06 00:09:59
阅读次数:
625
三、链表 链结点
在链表中,每个数据项都被包含在‘点“中,一个点是某个类的对象,这个类可认叫做LINK。因为一个链表中有许多类似的链结点,所以有必要用一个不同于链表的类来表达链结点。每个LINK对象中都包含一个对下一个点引用的字段(通常叫做next)但是本身的对象中有一个字段指向对第一个...
分类:
编程语言 时间:
2014-05-05 23:54:31
阅读次数:
561
Problem
Link:http://oj.leetcode.com/problems/longest-consecutive-sequence/This problem
is a classical problem where we can reduce the running time by ...
分类:
其他好文 时间:
2014-05-05 22:55:22
阅读次数:
552
Problem
Link:http://oj.leetcode.com/problems/word-ladder/Two typical techniques are
inspected in this problem:Hash Table. One hash set is the words di...
分类:
其他好文 时间:
2014-05-05 22:44:44
阅读次数:
393
环境: 校园宿舍, 10.x.x.x 和
172.16.x.x~172.31.x.x是校园内网,本科教务系统什么的都在上边路由器: 路由器1(校园内网):水星MR807 路由器2(拨号上网):TP
Link WR740R达成目标: 宿舍成员通过路由器2正常访问校园外网,同时,可以正常访问校...
分类:
Web程序 时间:
2014-05-05 22:33:51
阅读次数:
453
ERROR:ORA-28002: the
password will expire within 7 days
错误是提示密码快过期了,有两个办法解决这个问题。
一. 修改已经报错用户的密码
已经被报告了密码快要过期的账户必须再改一次密码(需要DBA权限)
以system用户为例
sqlplus / as sysdba
alter user system identi...
分类:
数据库 时间:
2014-05-03 17:27:50
阅读次数:
460
出现下列错误:
mlogc.c:32:23: error: curl/curl.h: No such file or directory
mlogc.c:1091: error: expected ‘)’ before ‘*’ token
mlogc.c: In function ‘logc_init’:
出错原因:缺少libcurl-dev or libcurl-devel
...
分类:
其他好文 时间:
2014-05-02 10:50:35
阅读次数:
371