1
2
3
4
5
6 package pt.digitalis.dif.utils.extensions.cms.exception;
7
8
9
10
11
12
13
14 public class NodeNotFoundException extends ContentManagerException {
15
16
17 private static final long serialVersionUID = 1L;
18
19
20
21 public NodeNotFoundException()
22 {
23 super("node not found");
24 }
25
26
27
28
29 public NodeNotFoundException(Exception exception)
30 {
31 super(exception);
32 }
33
34
35
36
37 public NodeNotFoundException(Long nodeId)
38 {
39 super("Node not found with id: " + nodeId);
40 }
41
42
43
44
45 public NodeNotFoundException(String reason)
46 {
47 super(reason);
48 }
49
50 }