In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces the relevant knowledge of "what are the knowledge points of Java exception system". The editor shows you the operation process through actual cases, and the operation method is simple, fast and practical. I hope this article "what are the knowledge points of Java exception system" can help you solve the problem.
1. System classification
(1) uncheckedexception (non-checked exception)
Also known as running RuntimeException, such as the common NullPointerException, IndexOutOfBoundsException. For running exception cases, the java compiler does not need to catch exceptions or throw declarations, which is up to the programmer.
(2) checked exception (check for exceptions, compile exceptions)
Also known as a non-running exception (an exception other than a running exception is a non-running exception), the java compiler must force the programmer to capture the exception. For example, the common IOExeption and SQLException. For non-running exceptions, the compilation will not pass without capture or contribution processing.
2. The relationship between Error and Exception
In general, Error will directly cause jvm errors, such as Java virtual machine running errors, etc., if the current thread occurs, it cannot continue to run.
Excpetion is an exception that the program itself can handle. It can run normally after it occurs.
What are the commonly used java frameworks? 1. Spring Web Web MVC is a Java-based lightweight Web framework that implements the request-driven type of Spring design pattern.
2. Shirojia Apache Shiro is a security framework for Java.
3. Mybatistion MyBatis is an excellent persistence layer framework that supports normal SQL queries, stored procedures and advanced mapping.
4. DubboPol Dubbo is a distributed service framework.
5. Mavenfine Maven is a project management and build automation tool.
6. RabbitMQ _ RabbitMQ is a highly concurrent and reliable AMQP message queuing server implemented with Erlang. 7. EhcacheJournal EhCache is a pure Java in-process caching framework.
This is the end of the introduction of "what are the knowledge points of the Java exception system". Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.