run(array());} catch (\Phalcon\Exception $e) { echo $e->getMessage();} catch (PDOException $e){ echo $e->getMessage();}
分类:
其他好文 时间:
2014-07-24 10:11:03
阅读次数:
218
import java.io.*;import java.util.*; class SplitFile{ public static void main(String[] args) throws Exception { //splitFile(); mer...
分类:
其他好文 时间:
2014-07-24 10:08:43
阅读次数:
234
例如错误写法: 正确写法:导致的异常:HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfill...
分类:
其他好文 时间:
2014-07-24 00:52:27
阅读次数:
218
public class ZipUtil {
public ZipUtil(){
}
/**
* DeCompress the ZIP to the path
* @param zipFileString name of ZIP
* @param outPathString path to be unZIP
* @throws ...
分类:
移动开发 时间:
2014-07-23 22:31:57
阅读次数:
388
一,发布一个webservice,代码如下 package com.hoo.service;public class AsynchronousService { public String execute() throws InterruptedException{ //让当前线程睡眠5钟,展示异步...
分类:
Web程序 时间:
2014-07-23 22:18:57
阅读次数:
322
07-23 18:16:17.641: W/SQLiteConnectionPool(28390): A SQLiteConnection object for database '/storage/emulated/0/cnOA.db' was leaked! Pl...
分类:
移动开发 时间:
2014-07-23 20:36:55
阅读次数:
246
/* 网页爬虫*/import java.io.*;import java.net.*;import java.util.regex.*;class RegexTest2{ public static void main(String[] args) throws Exception { getMa...
分类:
Web程序 时间:
2014-07-23 20:34:25
阅读次数:
217
/**
* 返回两个时间段相隔几个月
* @param date1
* @param date2
* @return
* @throws ParseException
* @throws ParseException
*/
public static long getMonth(String startDate, String endDate) throws P...
分类:
其他好文 时间:
2014-07-23 18:07:06
阅读次数:
137
package?com.sadhu;
import?java.util.*;
import?java.lang.reflect.*;
/**
*/
public?class?Sample
{
????public?static?void?main(String[]?args)throws?Exception
????{
????????C...
分类:
其他好文 时间:
2014-07-23 17:40:01
阅读次数:
170
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/clq/hadoop2/MapperReducer : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
...
分类:
其他好文 时间:
2014-07-23 17:09:51
阅读次数:
192