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 ShepardParserException extends ShepardException {
7
8 @Serial
9 private static final long serialVersionUID = 2L;
10
11 public ShepardParserException() {
12 super("A parser error occurred", Status.BAD_REQUEST);
13 }
14
15 public ShepardParserException(String message) {
16 super(message, Status.BAD_REQUEST);
17 }
18 }