1 package de.fhdw.wtf.persistence.exception;
2
3 import java.sql.SQLException;
4
5
6
7
8 public class NotInScopeException extends PersistenceException {
9
10
11 public static final int ERRORCODE = 20002;
12
13
14
15 private static final String NOT_IN_SCOPE_MESSAGE = "The Transaction has no access to the UserObject";
16
17
18
19 private static final long serialVersionUID = 1L;
20
21
22
23
24
25
26
27 public NotInScopeException(final SQLException nestedException) {
28 super(NOT_IN_SCOPE_MESSAGE, nestedException);
29 }
30 }