exceptional 2 Flashcards
executes regardless of whether the preceding try block identifies an exception.
finally block
These exceptions inherit from the Error class or the RuntimeException class. Although you can handle these exceptions in your programs, you are not required to do so.
Unchecked exceptions
These exceptions are the type that programmers should anticipate and from which programs should be able to recover. All exceptions that you explicitly throw and that descend from the Exception class are checked exceptions.
Checked exceptions
The memory location known as the _____ is where the computer stores the list of memory locations to which the system must return when methods end.
call stack
Constructs a new Exception object with null as its detail message
Exception()
Constructs a new Exception object with the specified detail message
Exception(String message)
Constructs a new Exception object with the specified detail message and cause
Exception(String message, Throwable cause)
Constructs a new Exception object with the specified cause and a detail message of cause.toString(), which typically contains the class and the detail message of cause, or null if the cause argument is null
Exception(Throwable cause)
______ is a Java language feature that can help you detect such logic errors and debug a program
assertion