本次内容:异常机制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
                             
                         
                    
                        
                            
                            
                                出现:error C2143: 语法错误 : 缺少“;”(在“{”的前面)...
                            
                            
                                分类:
其他好文   时间:
2014-05-03 17:43:50   
                                阅读次数:
247
                             
                         
                    
                        
                            
                            
                                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
                             
                         
                    
                        
                            
                            
                                1、具体错误如下
2014-5-2 21:38:29 com.opensymphony.xwork2.util.logging.jdk.JdkLogger error
严重: Exception occurred during processing request: null
java.lang.NullPointerException
	at com.you.file.upload.actio...
                            
                            
                                分类:
其他好文   时间:
2014-05-03 16:08:37   
                                阅读次数:
353
                             
                         
                    
                        
                            
                            
                                安装libpng,出现“configure: error: ZLib not
 installed”。
    解决方法:
    1. 进入ZLib的安装包,不必加--prefix参数命令:
    ./configure
   make && make install 
    2.  进入libpng解压缩包中,输入:
   ./configure  --prefix=/...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 22:38:51   
                                阅读次数:
289
                             
                         
                    
                        
                            
                            
                                1. 自定义验证--成功提示
1) 添加选项
errorClass: "unchecked",
validClass: "checked",
errorElement: "span",
errorPlacement: function (error, element) {
	if (element.parent().find("span[for=""" + element.attr("id...
                            
                            
                                分类:
Web程序   时间:
2014-05-02 18:38:21   
                                阅读次数:
467
                             
                         
                    
                        
                            
                            
                                出现下列错误:
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
                             
                         
                    
                        
                            
                            
                                编译Lua时,出现这样的错误:
gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -c -o lua.o lua.clua.c:67:31: error:
      查阅了一下,centOS上需要安装readline-devel ncurses-devel
yum install readline-devel ncurses-devel
 ...
                            
                            
                                分类:
系统相关   时间:
2014-05-02 07:03:00   
                                阅读次数:
455