本次内容:异常机制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
简介Nginx ("engine x")
是一个高性能的HTTP和反向代理服务器,也是一个IMAP/POP3/SMTP代理服务器;作为一款轻量级的Web服务器,具有占有内存少,并发能力强等优势,是高连接并发场景下Apache的不错的替代品;本篇主要介绍Nginx作为Web服务器时,相对于Apache...
分类:
其他好文 时间:
2014-05-06 09:04:29
阅读次数:
558
最简单的办法自然是运行sudo apt-get install
subversion。但是在服务器上经常是没有权限的,因此只能手动进行安装,现在假定安装在/home/user/local/下面,操作过程如下:1.下载svn源代码:http://mirrors.cnnic.cn/apache/subv...
分类:
其他好文 时间:
2014-05-06 01:17:47
阅读次数:
456
在流数据的处理过程中,为了保证处理结果的可信度(不能多算,也不能漏算),需要做到对所有的输入数据有且仅有一次处理。在Spark
Streaming的处理机制中,不能多算,比较容易理解。那么它又是如何作到即使数据处理结点被重启,在重启之后这些数据也会被再次处理呢?
分类:
其他好文 时间:
2014-05-06 00:58:21
阅读次数:
465
1.first of all,take a lookup on the left side
of keyword const.If there is something(type or pointer),then apply const
featureto it.2.nothing found on...
分类:
编程语言 时间:
2014-05-06 00:38:25
阅读次数:
361
1. MyBatis 本是的apache一个开源项目iBatis,
2010年这个项目由apache software foundation 迁移到了google code, 并且改名为MyBatis 。
iBATIS一词来源于“internet”和“abatis”的组合,是一个基于Java的持久层...
分类:
其他好文 时间:
2014-05-06 00:13:54
阅读次数:
346
首先把工具都下载好:1. Qt for
Android:http://qt-project.org/downloads2. Android
NDKhttp://developer.android.com/tools/sdk/ndk/index.html64位可以下载第二个3.Apache Ant
1...
分类:
移动开发 时间:
2014-05-02 16:45:43
阅读次数:
573
出现下列错误:
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