Skip to content

Package: WrongStateException

WrongStateException

nameinstructionbranchcomplexitylinemethod
WrongStateException(String)
M: 10 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
create(String)
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: package de.fhdw.wtf.common.exception.referencer;
2:
3: import de.fhdw.wtf.common.exception.walker.TaskException;
4:
5: public final class WrongStateException extends TaskException {
6:         
7:         /**
8:          * generated.
9:          */
10:         private static final long serialVersionUID = -8548913047074382357L;
11:         
12:         /**
13:          * Constructor of {@link WrongStateException}.
14:          *
15:          * @param reference
16:          * reference
17:          */
18:         private WrongStateException(final String reference) {
19:                 super(de.fhdw.wtf.common.constants.referencer.ExceptionConstans.WRONG_STATE_EXCEPTION_MESSAGE + reference);
20:         }
21:         
22:         /**
23:          * Creates a {@link WrongStateException}-Object.
24:          *
25:          * @param reference
26:          * reference
27:          * @return The {@link WrongStateException}-Object.
28:          */
29:         public static WrongStateException create(final String reference) {
30:                 return new WrongStateException(reference);
31:         }
32:         
33: }