Skip to content

Package: NotDeletableException

NotDeletableException

nameinstructionbranchcomplexitylinemethod
NotDeletableException()
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
printStackTrace()
M: 13 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: package de.fhdw.wtf.persistence.exception;
2:
3: /**
4: * Das Objekt konnte nicht gel�cht werden.
5: */
6: public class NotDeletableException extends PersistenceException {
7:         /**
8:          * the message of the exception.
9:          */
10:         private static final String NOT_DELETABLE_MESSAGE =
11:                         "The Object could not be deleted because there is still a link pointing to the user object";
12:         /**
13:          *
14:          */
15:         private static final long serialVersionUID = 1L;
16:         
17:         /**
18:          * Public Konstruktorzur R�chgabe der Fehlermeldung.
19:          */
20:         public NotDeletableException() {
21:                 super(NOT_DELETABLE_MESSAGE, null);
22:         }
23:         
24:         @Override
25:         public void printStackTrace() {
26:                 System.err.println(this.getMessage() + this.fillInStackTrace());
27:         }
28:         
29: }