Package: LinkConsistencyViolatedException
LinkConsistencyViolatedException
| name | instruction | branch | complexity | line | method | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LinkConsistencyViolatedException(SQLException) | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
Coverage
1: package de.fhdw.wtf.persistence.exception;
2: 
3: import java.sql.SQLException;
4: 
5: /**
6:  * A class to represent an exception, which occurs when someone tries to created a UnidirectionalLink between to User
7:  * Objects which could not be connected according to the model, or the used Transaction has no access to the User
8:  * Objects.
9:  * 
10:  * @deprecated this exception is deprecated.
11:  * 
12:  */
13: @Deprecated
14: public class LinkConsistencyViolatedException extends PersistenceException {
15:         
16:         /**
17:          * the message of the exception.
18:          */
19:         private static final String LINK_CONSISTENCY_MESSAGE =
20:                         "UnidirectionalLink could not be created because owner or target violated the consistency of the model or the Transaction has no access to the given User Objects";
21:         /**
22:          * 
23:          */
24:         private static final long serialVersionUID = 1L;
25:         
26:         /**
27:          * Constructor for a new LinkConsistencyViolatedException.
28:          * 
29:          * @param nested
30:          *            The nested SQL Exception, usually an uncaught PL/SQL user defined Exception.
31:          */
32:         public LinkConsistencyViolatedException(final SQLException nested) {
33:                 super(LINK_CONSISTENCY_MESSAGE, nested);
34:         }
35:         
36: }