1 package de.fhdw.wtf.persistence.exception;
2
3 import java.sql.SQLException;
4
5
6
7
8 public class InvalidLinkException extends PersistenceException {
9
10
11
12
13 public static final int ERRORCODE = 20003;
14
15
16
17
18 private static final String INVALID_LINK_MESSAGE =
19 "UnidirectionalLink could not be created because owner or target violated the consistency of the model";
20
21
22
23
24 private static final long serialVersionUID = 1L;
25
26
27
28
29
30
31
32 public InvalidLinkException(final SQLException nestedException) {
33 super(INVALID_LINK_MESSAGE, nestedException);
34 }
35 }