码迷,mamicode.com
首页 >  
搜索关键字:an unhandled exception has occurred    ( 21894个结果
Android 关于获取摄像头帧数据解码
// 创建保存照片文件夹 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
[ACM] hdu 1035 Robot Motion (模拟或DFS)
Robot Motion Problem Description A robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move are laid down in a grid. The...
分类:其他好文   时间:2014-05-15 05:48:40    阅读次数:346
Shark0.9.0安装
Shark0.9.0错误如下: Starting the Shark Command Line Client Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/hadoop/hive/cli/CliDriver : Unsupported major.minor version 51.0...
分类:其他好文   时间:2014-05-15 05:42:17    阅读次数:375
Django -> 添加ModelAdmin.date_hierarchy
第一次使用ModelAdmin.date_query,在admin.py中添加后,出现了这样的错误 ImproperlyConfigured exception (pytz isn't installed) 使用以下命令安装pytz之后,问题依然没有解决 $sudo pip install pytz 根据搜索结果,原来需要把settings.p中的USE_TZ = True修改为USE_T...
分类:其他好文   时间:2014-05-15 03:42:23    阅读次数:224
【LeetCode】Search a 2D Matrix
题目 Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted from left to right.The first integer...
分类:其他好文   时间:2014-05-15 03:41:11    阅读次数:257
记录开发过程中遇到的2个小bug
1、使用新建线程结合handler来更新UI线程中的 ListView,快速点击“刷新”,会出现下面的错误: ?? The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not mod...
分类:其他好文   时间:2014-05-15 02:30:17    阅读次数:254
Pat(Advanced Level)Practice--1043(Is It a Binary Search Tree)
Pat1043代码题目描述:A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a node contain...
分类:其他好文   时间:2014-05-14 22:03:25    阅读次数:487
MongoDB---出现no write has been done on this connection解决方案
出现no write has been done on this connection解决方案...
分类:数据库   时间:2014-05-14 19:42:51    阅读次数:403
spring事务心得积累
一、使用事务 1、spring配置文件中开启事务注解机制 2、在方法上使用@Transactional注解来使用事务 二、使用事务注意事项 1、只能在一个类中调用另一个类中的事务方法。 2、事务默认对RunTimeException进行回滚,用rollbackfor=Exception.class可指定对所有异常回滚。 3、...
分类:编程语言   时间:2014-05-14 19:19:16    阅读次数:379
leetcode第一刷_Anagrams
今天再看这个题时,死活想不起这个单词是什么意思,查了字典都不知道,真晕了。 这个单词直译是颠倒顺序所形成的单词,实际上就是从集合中找出所有是由一组字母形成的那些单词,这种可以由很多组,即只要这组字母形成的字典中的单词多于1个,就要把这些单词输出出来。 怎么做呢?思路还是很简单的,要找出是由一组字母形成的单词,显然应该知道每一个单词是由哪些字母形成的,这当然可以建一个hash表,每次都比对has...
分类:其他好文   时间:2014-05-14 15:12:04    阅读次数:296
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!