Multiple choice technology databases

User-defined application exception classes are derived from which class?

  1. SystemException

  2. ApplicationException

  3. Both (A) and (B)

  4. None of the Above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Java EE and CORBA, user-defined application exceptions must extend ApplicationException (or a subclass thereof). SystemException is for system-level errors (transient failures, resource limits). The two hierarchies are separate - application exceptions for business logic errors, system exceptions for runtime failures.