1 package pt.digitalis.dif.utils.extensions.document;
2
3
4
5
6
7 public class MaximumDocumentSizeException extends DocumentRepositoryException {
8
9
10 private Integer limit;
11
12
13
14
15
16
17
18 public MaximumDocumentSizeException(String reason, Integer limit)
19 {
20 super(reason);
21 this.setLimit(limit);
22 }
23
24
25 private static final long serialVersionUID = 1L;
26
27
28
29
30
31
32
33 public Integer getLimit()
34 {
35 return limit;
36 }
37
38
39
40
41
42
43
44 private void setLimit(Integer limit)
45 {
46 this.limit = limit;
47 }
48
49 }