情景:在虚拟机上运行正常的,但是到我的真机上就解密失败,出现pad block corrupted ,据说是版本原因:我机器是小米3 最新版的android 4.2出现问题的代码:private static byte[] getRawKey(byte[] seed) throws Exceptio...
分类:
移动开发 时间:
2014-12-11 18:52:35
阅读次数:
565
这几天在开发关于Rest的服务,其中用到了NHibernate来进行数据库交互,突然有一天发现了一个错误,如下:Couldnotloadfileorassembly'NHibernate'oroneofitsdependencies.Theparameterisincorrect.(Exceptio...
分类:
Web程序 时间:
2014-10-11 17:38:05
阅读次数:
174
1、创建文件:vi/root/.pystartup,代码如下:importsys
importreadline
importrlcompleter
importatexit
importos
readline.parse_and_bind(‘tab:complete‘)
histfile=os.path.join(os.environ[‘HOME‘],‘.pythonhistory‘)
try:
readline.read_history_file(histfile)
exceptIO..
分类:
编程语言 时间:
2014-08-28 09:49:39
阅读次数:
192
public class DownloadAction extends ActionSupport{ // 接收文件名 private String filename; @Override public String execute() throws Exceptio...
分类:
其他好文 时间:
2014-08-05 22:13:20
阅读次数:
212
来自:网易博客 就目前我的了解,在两种情况下,PHP会报 Exception thrown without a stack frame in Unknown on line 0这种错误: 1)异常捕捉用了set_exception_handler导向,Exception里面执行另一个Exceptio...
分类:
Web程序 时间:
2014-07-28 23:49:24
阅读次数:
387
// 创建保存照片文件夹
private void CreateFileJPG() {
File file = new File("/sdcard/image");
if (!file.exists()) {
try {
file.mkdirs();
} catch (Exception e) {
// TODO: handle exceptio...
分类:
移动开发 时间:
2014-05-15 06:39:58
阅读次数:
434