Package: POException

POException

nameinstructionbranchcomplexitylinemethod
POException(INode, String)
M: 7 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 3 C: 0
0%
M: 1 C: 0
0%
getErrorNode()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
setErrorNode(INode)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: package org.overture.pog.utility;
2:
3: import org.overture.ast.analysis.AnalysisException;
4: import org.overture.ast.node.INode;
5:
6: public class POException extends AnalysisException
7: {
8:
9:         /**
10:          *
11:          */
12:         private static final long serialVersionUID = 1L;
13:
14:         INode errorNode;
15:
16:         public POException(INode errorNode, String message)
17:         {
18:                 super(message);
19:                 this.errorNode = errorNode;
20:         }
21:
22:         public INode getErrorNode()
23:         {
24:                 return errorNode;
25:         }
26:
27:         public void setErrorNode(INode errorNode)
28:         {
29:                 this.errorNode = errorNode;
30:         }
31:
32: }