1 package de.dlr.shepard.common.exceptions;
2
3 import jakarta.ws.rs.core.Response.Status;
4 import java.io.Serial;
5
6 public class InvalidPathException extends ShepardException {
7
8 @Serial
9 private static final long serialVersionUID = 2735916387225681093L;
10
11 public InvalidPathException() {
12 super("The specified path does not exist", Status.NOT_FOUND);
13 }
14
15 public InvalidPathException(String message) {
16 super(message, Status.NOT_FOUND);
17 }
18 }