Skip to content

Package: WrongTypeError

WrongTypeError

nameinstructionbranchcomplexitylinemethod
WrongTypeError(String)
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%

Coverage

1: package symbols;
2:
3: /**
4: * is a error, which will be thrown, if the toType-Method will be called with a wrong Type.
5: *
6: * @author Lisa Leitloff
7: *
8: */
9: public class WrongTypeError extends RuntimeException {
10:         /**
11:          *
12:          */
13:         private static final long serialVersionUID = 1L;
14:
15:         /**
16:          * creates a WrongTypeError.
17:          *
18:          * @param errorMessage
19:          * is the message for the error.
20:          */
21:         public WrongTypeError(final String errorMessage) {
22:                 super(errorMessage);
23:
24:         }
25:
26: }