View Javadoc
1   package de.dlr.shepard.exceptions;
2   
3   import jakarta.ws.rs.core.Response.Status;
4   
5   public class InvalidAuthException extends ShepardException {
6   
7     private static final long serialVersionUID = 8796971092537544749L;
8   
9     public InvalidAuthException() {
10      super("Invalid authentication or authorization", Status.FORBIDDEN);
11    }
12  
13    public InvalidAuthException(String message) {
14      super(message, Status.FORBIDDEN);
15    }
16  }