From Mature Tapir, 5 Years ago, written in Plain Text.
Embed
  1. package com.fosspowered.cockroach.exception;
  2.  
  3. import org.springframework.http.HttpStatus;
  4. import org.springframework.web.bind.annotation.ResponseStatus;
  5.  
  6. @ResponseStatus(HttpStatus.NOT_FOUND)
  7. public class TopicNotFoundException extends RuntimeException {
  8.     public TopicNotFoundException(String msg, Throwable t) {
  9.         super(msg, t);
  10.     }
  11.  
  12.     public TopicNotFoundException(String msg) {
  13.         super(msg);
  14.     }
  15. }
  16.