Program quiz 11

Ace your homework & exams now with Quizwiz!

This is an internal list of all the methods currently executing

call stack

if your code does not handle an exception when it is thrown, it is dealt with by this

default exception handler

This is one or more statements that are always executed after the try block has executed and after any catch blocks have executed if an exception was thrown.

finally block

This method can be used to retrieve the error message from an exception

getMessage

This method may be called from any exception object, and it shows the chain of methods that were called when the exception was thrown

printStackTrace

This is the process of converting an object to a series of bytes that represent the objects data.

serialization

You use this statement to throw an exception manually

throw

When an exception is generated, it is said to have been

thrown

This informs the compiler of the exceptions that could get thrown from a method

throws clause

You can think of this code as being 'protected' because the application will not halt if it shows an exception

try block

This is a section of code that gracefully responds the exceptions

Exception handler

When an exception is thrown by code inside a try block, all of the statements in the try block are always executed

False

The numeric wrapper classes "parse" methods all throw an exception of this type

NumberFormatException

When an exception is thrown, the JVM searches the try statements' catch clauses from top to bottom and passes control of the program to the first catch clause with a parameter that is compatible with the exception.

True


Related study sets

Lifespan Dev Final Study Set Part 1

View Set

2.3 Graphical Misrepresentations of Data

View Set

Combo with "Chapter 43" and 1 other

View Set

Latitude and Longitude (small details)

View Set

Individual Disability Income Policy Riders

View Set

Chap 44 Disorders of the Skeletal System: Metabolic and Rheumatic Disorders

View Set