1Z0-811 Exception Handling and Development Tools Practice Question
Given a method that catches Exception and then throws a RuntimeException, what is the effect?
⚠ Common exam trap
The trap here is that candidates mistakenly think any exception thrown from a catch block must be declared, forgetting that RuntimeException and its subclasses are unchecked and exempt from the throws requirement.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The method can throw RuntimeException without declaring it.
In Java, RuntimeException is an unchecked exception, meaning it does not need to be declared in a method's throws clause. The catch block catches Exception (which includes RuntimeException), and then throws a new RuntimeException. Since RuntimeException is unchecked, the method can throw it without declaring it, making option B correct.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The RuntimeException will not propagate if caught.
Why it's wrong here
It propagates after being thrown.
- ✓
The method can throw RuntimeException without declaring it.
Why this is correct
RuntimeException is unchecked, no throws required.
- ✗
The method must declare throws RuntimeException.
Why it's wrong here
Unchecked exceptions do not require declaration.
- ✗
The catch block cannot throw a RuntimeException because it is caught as Exception.
Why it's wrong here
The catch can rethrow any exception.
Go deeper
Related to this question
About these practice questions
This 1Z0-811 question is part of Courseiva's 481-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 1Z0-811 practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 1Z0-811 exam.