Skip to content

Package: NoValidTokenStreamException

NoValidTokenStreamException

nameinstructionbranchcomplexitylinemethod
NoValidTokenStreamException(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%
create()
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.common.exception.parser;
2:
3: /**
4: * This Exception will be thrown if the Parser found exceptions in the given Tokenstream.
5: *
6: */
7: public final class NoValidTokenStreamException extends Exception {
8:         
9:         /**
10:          * generated.
11:          */
12:         private static final long serialVersionUID = -4210989461971808415L;
13:         
14:         /**
15:          * Constructor of {@link NoValidTokenStreamException}.
16:          *
17:          * @param message
18:          * message
19:          */
20:         private NoValidTokenStreamException(final String message) {
21:                 super(message);
22:         }
23:         
24:         /**
25:          * Creates a {@link NoValidTokenStreamException}-Object.
26:          *
27:          * @return The {@link NoValidTokenStreamException}-Object.
28:          */
29:         public static NoValidTokenStreamException create() {
30:                 return new NoValidTokenStreamException(
31:                                 de.fhdw.wtf.common.constants.parser.ExceptionConstants.NO_VALID_TOKEN_STREAM_EXCEPTION_MESSAGE);
32:         }
33: }