
io.rocketbase.commons.exception.NotFoundException Maven / Gradle / Ivy
package io.rocketbase.commons.exception;
import io.rocketbase.commons.dto.ErrorResponse;
import lombok.Getter;
public class NotFoundException extends RuntimeException {
@Getter
private final ErrorResponse errorResponse;
public NotFoundException() {
super();
this.errorResponse = null;
}
public NotFoundException(ErrorResponse errorResponse) {
super(errorResponse.getMessage());
this.errorResponse = errorResponse;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy