1 package uk.ac.cam.spectra.spectrasub;
2
3 public class NotFoundException extends Exception {
4
5
6
7
8 private static final long serialVersionUID = -3907797446419490128L;
9 private String id;
10
11 public NotFoundException() {
12 super();
13 }
14
15 public NotFoundException(String message, Throwable cause) {
16 super(message, cause);
17 }
18
19 public NotFoundException(String message, String id) {
20 super(message);
21 this.id = id;
22 }
23
24 public NotFoundException(Throwable cause) {
25 super(cause);
26 }
27
28 public String getId() {
29 return id;
30 }
31
32 public void setId(String id) {
33 this.id = id;
34 }
35
36
37 }