services/quotes/src/main/java/com/example/quotes/web/QuoteController.java [138:148]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public ResponseEntity<HttpStatus> deleteQuote(@PathVariable("id") Long id) {
        try {
            quoteService.deleteById(id);
            return new ResponseEntity<>(HttpStatus.NO_CONTENT);
        } catch(EmptyResultDataAccessException e){
            return new ResponseEntity<HttpStatus>(HttpStatus.NOT_FOUND);
        } catch (RuntimeException e) {
            System.out.println(e.getMessage());
            return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR);
        }
    }    
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



services/quotes-ui/src/main/java/com/example/quotes/web/QuoteController.java [138:148]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public ResponseEntity<HttpStatus> deleteQuote(@PathVariable("id") Long id) {
        try {
            quoteService.deleteById(id);
            return new ResponseEntity<>(HttpStatus.NO_CONTENT);
        } catch(EmptyResultDataAccessException e){
            return new ResponseEntity<HttpStatus>(HttpStatus.NOT_FOUND);
        } catch (RuntimeException e) {
            System.out.println(e.getMessage());
            return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR);
        }
    }    
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sessions/fall24/spring-ai-quotes-llm-in-gke/src/main/java/com/example/quotes/web/QuoteController.java [164:174]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public ResponseEntity<HttpStatus> deleteQuote(@PathVariable("id") Long id) {
        try {
            quoteService.deleteById(id);
            return new ResponseEntity<>(HttpStatus.NO_CONTENT);
        } catch(EmptyResultDataAccessException e){
            return new ResponseEntity<HttpStatus>(HttpStatus.NOT_FOUND);
        } catch (RuntimeException e) {
            System.out.println(e.getMessage());
            return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR);
        }
    }    
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sessions/next25/quotes-llm/src/main/java/com/example/quotes/web/QuoteController.java [155:165]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public ResponseEntity<HttpStatus> deleteQuote(@PathVariable("id") Long id) {
        try {
            quoteService.deleteById(id);
            return new ResponseEntity<>(HttpStatus.NO_CONTENT);
        } catch(EmptyResultDataAccessException e){
            return new ResponseEntity<HttpStatus>(HttpStatus.NOT_FOUND);
        } catch (RuntimeException e) {
            System.out.println(e.getMessage());
            return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR);
        }
    }    
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



runtimes/crac/quotes-crac/src/main/java/com/example/quotes/web/QuoteController.java [138:148]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public ResponseEntity<HttpStatus> deleteQuote(@PathVariable("id") Long id) {
        try {
            quoteService.deleteById(id);
            return new ResponseEntity<>(HttpStatus.NO_CONTENT);
        } catch(EmptyResultDataAccessException e){
            return new ResponseEntity<HttpStatus>(HttpStatus.NOT_FOUND);
        } catch (RuntimeException e) {
            System.out.println(e.getMessage());
            return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR);
        }
    }    
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



runtimes/project-leyden/quotes/src/main/java/com/example/quotes/web/QuoteController.java [138:148]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public ResponseEntity<HttpStatus> deleteQuote(@PathVariable("id") Long id) {
        try {
            quoteService.deleteById(id);
            return new ResponseEntity<>(HttpStatus.NO_CONTENT);
        } catch(EmptyResultDataAccessException e){
            return new ResponseEntity<HttpStatus>(HttpStatus.NOT_FOUND);
        } catch (RuntimeException e) {
            System.out.println(e.getMessage());
            return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR);
        }
    }    
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



ai-patterns/spring-ai-quotes-llm-in-gke/src/main/java/com/example/quotes/web/QuoteController.java [164:174]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public ResponseEntity<HttpStatus> deleteQuote(@PathVariable("id") Long id) {
        try {
            quoteService.deleteById(id);
            return new ResponseEntity<>(HttpStatus.NO_CONTENT);
        } catch(EmptyResultDataAccessException e){
            return new ResponseEntity<HttpStatus>(HttpStatus.NOT_FOUND);
        } catch (RuntimeException e) {
            System.out.println(e.getMessage());
            return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR);
        }
    }    
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



