Skip to main content
InterviewHubPRO
Section Overview
Q33

Question 33 of 50

Part 3: Advanced Architecture & Production Patterns (Senior / Lead)

66%
Domain-Driven Design (50 Qs)•Part 3: Advanced Architecture & Production Patterns (Senior / Lead)

What is the difference between Domain Exceptions and Technical Exceptions?

senior LevelSystem Design

In Simple Words:

  • Technical Exceptions: Unexpected infrastructure failures (network timeout, database connection dropped, disk full). Handled with retries or circuit breakers.
  • Domain Exceptions: Expected business invariant violations (e.g. InsufficientFundsException, ProductOutOfStockException, OrderAlreadyShippedException).
  • Should be strongly typed, informative, and treated as regular business workflow outcomes.