Skip to content

Package: InvalidLinkException

InvalidLinkException

nameinstructionbranchcomplexitylinemethod
InvalidLinkException(SQLException)
M: 0 C: 5
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%

Coverage

1: package de.fhdw.wtf.persistence.exception;
2:
3: import java.sql.SQLException;
4:
5: /**
6: * Fehlermeldung f�r den Fall das ein gefundener Link ung�ltig ist.
7: */
8: public class InvalidLinkException extends PersistenceException {
9:         
10:         /**
11:          * Error nummer of the Oracle UserException.
12:          */
13:         public static final int ERRORCODE = 20003;
14:         
15:         /**
16:          * the message of the exception.
17:          */
18:         private static final String INVALID_LINK_MESSAGE =
19:                         "UnidirectionalLink could not be created because owner or target violated the consistency of the model";
20:         
21:         /**
22:          *
23:          */
24:         private static final long serialVersionUID = 1L;
25:         
26:         /**
27:          * Public Konstruktor zum setzen der Fehlermeldung.
28:          *
29:          * @param nestedException
30:          * TODO
31:          */
32:         public InvalidLinkException(final SQLException nestedException) {
33:                 super(INVALID_LINK_MESSAGE, nestedException);
34:         }
35: }