org.specrunner.annotator.core
Class AnnotatorStacktrace
java.lang.Object
org.specrunner.annotator.core.AnnotatorStacktrace
- All Implemented Interfaces:
- IAnnotator
public class AnnotatorStacktrace
- extends Object
- implements IAnnotator
Add stack traces to nodes with errors.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatorStacktrace
public AnnotatorStacktrace()
annotate
public void annotate(IResultSet result)
throws AnnotatorException
- Description copied from interface:
IAnnotator
- Annotates the result information.
- Specified by:
annotate in interface IAnnotator
- Parameters:
result - The result set.
- Throws:
AnnotatorException - On annotation errors.
addStackTrace
protected void addStackTrace(nu.xom.Node node,
IResult result,
int stackIndex)
throws AnnotatorException
- Add a stack trace to a node.
- Parameters:
node - The node.result - The result.stackIndex - The indexes map.
- Throws:
AnnotatorException - On annotator errors.
Copyright © 2014. All rights reserved.