import java.lang.reflect.Field; public class InvokeFieldDemo { public static void main(String[] args) throws Exception { Class cl = null; Object obj =...
分类:
其他好文 时间:
2014-09-04 16:45:39
阅读次数:
177
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework...
分类:
编程语言 时间:
2014-09-04 14:53:39
阅读次数:
434
1、执行64位宽的寄存器,又兼容ARMv7架构的软件,即既支持32bit,又支持64bit,AArch64 & AArch322、分离了privilege和mode,ARMv7是一体的 在ARMv8中,安全状态下,有PL3、PL1、PL0,没有PL2,可以访问安全内存空间非安全状态下,有PL2、PL...
分类:
其他好文 时间:
2014-09-04 13:13:39
阅读次数:
1543
Atitit.java 异常的使用总结最佳实践 Vo8f
1. 为什么使用异常 1
2. 用throw抛出一个异常到catch子句中与通过函数调用传递一个参数两者基本相同。 2
3. S E H的主要动机 2
4. RuntimeException跟checked Exception 2
5. 要不要使用checked Exception 3
6. Exception业务流程控制...
分类:
编程语言 时间:
2014-09-04 00:14:57
阅读次数:
369
对于Android 异常退出,主要是用到了 接口Thread.UncaughtExceptionHandler
public class ErrorReport implements Thread.UncaughtExceptionHandler{
public static final String TAG = "GouMinErrorReport";
priv...
分类:
移动开发 时间:
2014-09-03 19:54:57
阅读次数:
202
1.jxl生成excel/** * @desc 写入 */ public void writeToExcel() throws Exception{ File file = new File(writePath);//创建文件 //创建工作薄 ...
分类:
其他好文 时间:
2014-09-03 18:07:06
阅读次数:
242
A:Little Pony and Permutation
直接暴力搜索,复杂度O(n)
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#pragma comment(linker, "/STACK:1024000000,1024000000")
using n...
分类:
其他好文 时间:
2014-09-03 16:51:56
阅读次数:
211
Quick Tip: How to Add Syntax Highlighting to Any Projectpublic String showAllArticleForPage() throws Exception{HttpServletRequest request = ServletActionContext.getRequest();String username=(String) A...
分类:
其他好文 时间:
2014-09-03 13:05:56
阅读次数:
201
public String showAllArticleForPage() throws Exception{
HttpServletRequest request = ServletActionContext.getRequest();
String username=(String) ActionContext.getContext().getSession().get("user");
...
分类:
其他好文 时间:
2014-09-03 13:05:26
阅读次数:
208
最近调试几款sdio card suspend时都会出现sdio card removed,之后
要么死机要么模块不能正常工作,根本原因也就是休眠没有处理好。
昨天在博通网卡上终于找到了解决方法。
1:host端需要设置nonremovable,软件设置:mmc->caps |=
MMC_CAP_NONREMOVABLE;
2:host端需要设置k...
分类:
其他好文 时间:
2014-09-02 23:00:00
阅读次数:
674