1Z0-829 • Practice Test 28
Free 1Z0-829 practice test — 15 questions with explanations. Set 28. No signup required.
A financial trading application uses Java 17 and processes millions of transactions per second. It uses a custom checked exception `TradeException extends Exception` for business rule violations. Recently, the transaction processing service began throwing a `RuntimeException` that wraps a `TradeException`, but the error logs only show the wrapper's message and stack trace, missing the original `TradeException` details. The logging framework prints the exception and its cause chain. The development team needs to ensure that the original `TradeException` message and stack trace are always logged. What is the most appropriate course of action?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.