1 package de.fhdw.wtf.persistence.exception;
2
3
4
5
6
7
8
9 public class InitializingDatabaseContractViolationException extends PersistenceException {
10
11
12
13
14 private static final String CONTRACT_VIOLATION_MESSAGE =
15 "The Contract for the initialization of the types between the JDBC-Facade and the PL/SQL-Facade has been violated: Please check the stored procedure classface.initialize and th OracleClassFacadeImplementation.java";
16
17
18
19 private static final long serialVersionUID = 1L;
20
21
22
23
24 public InitializingDatabaseContractViolationException() {
25 super(CONTRACT_VIOLATION_MESSAGE, null);
26 }
27
28 @Override
29 public void printStackTrace() {
30 System.err.println(CONTRACT_VIOLATION_MESSAGE + this.fillInStackTrace());
31 }
32
33 }