I’m changing 3 layer architecture to hexagonal architecture.
In hexagonal, Should the exception be throwed in the adapter or in the service?
This is code I write.
I use Kotlin, Spring, JPA.
Once I throw exception in service. (EntityNotFoundException)
give me feedback!
New contributor
김민재 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.