1 package de.fhdw.wtf.persistence.exception;
2
3 import java.sql.SQLException;
4
5
6
7
8
9
10 public class NotInstantiatableException extends PersistenceException {
11
12
13
14
15 public static final long ERRORCODE = 20004;
16
17
18
19 private static final String NOT_INSTANTIABLE_MESSAGE = "Could not instiantiate the class, maybe it is abstract";
20
21
22
23 private static final long serialVersionUID = 1L;
24
25
26
27
28
29
30
31 public NotInstantiatableException(final SQLException exception) {
32 super(NOT_INSTANTIABLE_MESSAGE, exception);
33 }
34
35 }