| EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012) |
|---|
| [all classes][de.uka.ipd.sdq.pcm.stochasticexpressions.parser] |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| ErrorEntry.java | 0% (0/1) | 0% (0/4) | 0% (0/23) | 0% (0/9) |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| class ErrorEntry | 0% (0/1) | 0% (0/4) | 0% (0/23) | 0% (0/9) |
| ErrorEntry (RecognitionException, String): void | 0% (0/1) | 0% (0/15) | 0% (0/6) | |
| getEx (): RecognitionException | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
| getMessage (): String | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
| getSeverity (): SeverityEnum | 0% (0/1) | 0% (0/2) | 0% (0/1) |
| 1 | package de.uka.ipd.sdq.pcm.stochasticexpressions.parser; |
| 2 | |
| 3 | import org.antlr.runtime.RecognitionException; |
| 4 | |
| 5 | import de.uka.ipd.sdq.errorhandling.IIssue; |
| 6 | import de.uka.ipd.sdq.errorhandling.SeverityEnum; |
| 7 | |
| 8 | |
| 9 | public class ErrorEntry implements IIssue { |
| 10 | private RecognitionException ex = null; |
| 11 | private String errorText = null; |
| 12 | |
| 13 | public ErrorEntry(RecognitionException ex, String errorText) { |
| 14 | super(); |
| 15 | this.ex = ex; |
| 16 | this.errorText = errorText; |
| 17 | } |
| 18 | |
| 19 | public RecognitionException getEx() { |
| 20 | return ex; |
| 21 | } |
| 22 | |
| 23 | public String getMessage() { |
| 24 | return errorText; |
| 25 | } |
| 26 | |
| 27 | public SeverityEnum getSeverity() { |
| 28 | return SeverityEnum.ERROR; |
| 29 | } |
| 30 | } |
| [all classes][de.uka.ipd.sdq.pcm.stochasticexpressions.parser] |
| EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov |