摘要
java语言的关键性技术之一就是异常处理,这一该技术能够快速、准确地识别和处理语言程序中的异常,从而保持Java程序语言的足够可靠性。在提出Java语言异常处理的优点后,对Java语言可能出现的异常进行分类,对于异常处理技术的原理进行解释,并简单分析了两种异常处理方式。本文从JAVA语言的概念和特点等方面,对JAVA语言的异常进行了分析,阐述了JAVA语言异常种类,介绍了几种常见异常处理方式。
One of the key technologies of Java language is exception handling,which can quickly and accurately identify and handle exceptions in language programs,so as to maintain the sufficient reliability of Java program language.After putting forward the advantages of exception handling in JAVA language,this paper classifies the possible exceptions in Java language,explains the principle of exception handling technology,and briefly analyzes two exception handling methods.From the concept and characteristics of Java language,this paper analyzes the exceptions of JAVA language,expounds the types of JAVA language exceptions,and introduces several common exception handling methods.
作者
杨波
YANG Bo(Chengdu Jiuzhou Electronic Information System Co.,Ltd.,Chengdu,Sichuan,610000,China)
出处
《智能城市应用》
2022年第2期73-76,共4页
Smart City Application
关键词
JAVA语言
软件编程
异常
异常处理
JAVA language
software programming
abnormal
exception handling