1 package de.fhdw.wtf.persistence.exception;
2
3 import java.sql.SQLException;
4
5
6
7
8
9 public class OtherSQLException extends PersistenceException {
10
11
12
13 private static final String EXCEPTION_MESSAGE =
14 "An exceptional behavior during contacting the Database occured, Please see full stack trace";
15
16
17
18
19
20
21
22 public OtherSQLException(final SQLException nestedException) {
23 super(EXCEPTION_MESSAGE + ": " + nestedException.getMessage(), nestedException);
24 }
25
26
27
28
29 private static final long serialVersionUID = 1L;
30
31 }