1 package de.fhdw.wtf.context.exception;
2
3
4
5
6
7
8 public class DatabaseManagerFactoryNotInstantiableException extends FrameworkException {
9
10
11
12
13
14 public static final String CLASS_IS_A_CONCRETE_DATABASE_MANAGER_FACTORY_REASON =
15 "The given class is abstract or not a descendant of DatabaseManagerFactory.";
16
17
18
19
20 private static final String MESSAGE = "Couldn't instantiate a subclass of DatabaseManagerFactory: ";
21
22
23
24
25
26
27
28 public DatabaseManagerFactoryNotInstantiableException(final String reason) {
29 super(DatabaseManagerFactoryNotInstantiableException.MESSAGE + reason);
30 }
31
32 }