Skip to content

Method: BaseTypeNotFoundException()

1: package de.fhdw.wtf.persistence.exception;
2:
3: /**
4: * Ein Fehler der geworfen wird, wenn ein Basisdatentyp in der Datenbank nicht gefunden wurde.
5: */
6: public class BaseTypeNotFoundException extends PersistenceException {
7:         
8:         /**
9:          * Error nummer of the Oracle UserException.
10:          */
11:         public static final int ERRORCODE = 20006;
12:         
13:         /**
14:          * the message of the exception.
15:          */
16:         private static final String NOT_FOUND_MESSAGE = "There was no existing base type for the given ID in the database";
17:         
18:         /**
19:          *
20:          */
21:         private static final long serialVersionUID = 1L;
22:         
23:         /**
24:          * Konstruktor der die entsprechende Fehlermeldung zur�ckgibt.
25:          */
26:         public BaseTypeNotFoundException() {
27:                 super(NOT_FOUND_MESSAGE, null);
28:         }
29: }