Skip to content
Snippets Groups Projects

Resolve "Change EntityNotFoundException into ResourceNotFoundException"

  1. May 06, 2020
    • Chris Lemaire's avatar
      Use ResourceNotFoundException to indicate 404 · 98729d75
      Chris Lemaire authored
      EntityNotFoundException turned out to not result in a status code 404.
      Instead the Spring ResourceNotFoundException handles this.
      
      Previously, a custom ResourceNotFoundException was used to handle the
      404 status code. It turns out Spring had one all along, so the Spring
      ResourceNotFoundException is now used.
      98729d75
Loading