- package com.fosspowered.cockroach.exception;
- import org.springframework.http.HttpStatus;
- import org.springframework.web.bind.annotation.ResponseStatus;
- @ResponseStatus(HttpStatus.NOT_FOUND)
- public class TopicNotFoundException extends RuntimeException {
- public TopicNotFoundException(String msg, Throwable t) {
- super(msg, t);
- }
- public TopicNotFoundException(String msg) {
- super(msg);
- }
- }