摘要
随着系统规模的不断扩大,传统的异常处理技术已经成为创建大型可维护程序的障碍了。Java是一种面向对象的程序设计语言,Java的异常处理非常出色。Java把异常封装到类里,运用“try/catch/finally”异常处理机制,最终得到的是更为“健壮”的异常处理代码。结合开发实践,用实例说明了Java异常处理如何具体应用。
With the constant enlargement of the systematic scale,traditional exception handling technology has already become the obstacle of creating large maintainable program. Java is a kind of abject - oriented programming language, the exception handling of Java is very outstanding. Java packs exception in class, uses the exception handling mechanism of “try/catch/finally” and gets more “robust” exception handling code finally. Combining practice of developing, this paper demonstrate how to use them by examples.
出处
《信息技术》
2005年第10期109-111,共3页
Information Technology
关键词
JAVA
异常
异常处理
Java
exception
exception handling