Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > exception > Java exception
Next exceptionunexpected exception    Upexception

Java exception
subjectfact 
Java exceptionis a subtopic of The Basics of Java2001-08-30 14:56:13.0
is raised in a statement that is not in a try block with an appropriate catch statement, Java looks to see if the caller of the current method is within a try block that has an appropriate catch block, and Java look at callers right up to the main program and will report an error if it has not been able to find any suitable catch blocklink: chapter2section2.8.html#886, 2001-08-30 14:56:13.0
is a kind of exception2001-08-30 14:56:13.0
exceptionis thrown when something goes wrong in the execution of a program2001-08-30 14:55:32.0
see also Exception class2001-08-30 14:55:32.0

Kinds of Java exception :