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