1 package de.fhdw.wtf.persistence.exception;
2
3
4
5
6
7 public class NotConnectedException extends PersistenceException {
8
9
10
11
12 private static final String NOT_CONNECTED_MESSAGE = "The connection towards the Database was not established !!!";
13
14
15
16
17 public NotConnectedException() {
18 super("Es besteht keine Verbindung zur Datenbank", null);
19 }
20
21
22
23
24 private static final long serialVersionUID = 1L;
25
26 @Override
27 public void printStackTrace() {
28 System.err.println(NOT_CONNECTED_MESSAGE + this.fillInStackTrace());
29 }
30
31 }