Java Common Exception Feedback

Source: Internet
Author: User

when no class file of the corresponding name is found after traversing Classpah
Arithmeticexecption Arithmetic Exception class
NullPointerException Null pointer exception class
ClassCastException Type cast exception
Negativearrayexception Array negative Subscript exception
Nosuchmethodexception

Method not found to the

This exception is thrown when a non-existent method of a class is accessed

ArrayIndexOutOfBoundsException

under Array label out of bounds exception

Thrown when the index value of an array is negative or greater than or equal to the size of the Arrays.

FileNotFoundException File not found exception
NumberFormatException String to numeric exception
IOException Input/output exception
java.lang.classnotfoundexception

class exception not found

Java.lang.RuntimeException

Run-time exception

Can be thrown during normal operation of all Java virtual machines

The parent class of the exception

Java.lang.ExceptionInInitializerError Initialization error
Java.lang.NoClassDefFoundError Class error not found
Java.lang.ThreadDeath Thread End









This article is from the "flying_world" blog, make sure to keep this source http://flyworld.blog.51cto.com/8231977/1885403

Java Common Exception Feedback

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.