摘要: /** * Created by Administrator on 2014/9/29. * * throws和throw的区别 * * throws使用在函数上,throw使用在函数内 * * throws后面跟的是异常类,可以跟多个,用逗号连接 * throw后面跟的是异常对象 ... 阅读全文
posted @ 2014-09-29 14:52 liupengcheng 阅读(374) 评论(0) 推荐(0) 编辑
摘要: /** * Created by Administrator on 2014/9/29. * * 自定义异常,需要继承Exception. */ //copyright©liupengcheng //http://www.cnblogs.com/liupengcheng class fushuException ... 阅读全文
posted @ 2014-09-29 14:23 liupengcheng 阅读(85) 评论(0) 推荐(0) 编辑