public class TechConversionResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
TechConversionResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
failed()
Method to return the success status.
|
java.lang.String |
getErrorMessage()
Method to return the error message associated with this conversion.
|
void |
markError(NodeInst ni,
Cell cell,
java.lang.String errorMessage)
Method to mark a general error.
|
void |
markStretchProblem(java.util.List<Example> neList,
Sample ns,
Cell cell,
double sampleCoord,
boolean xDir)
Method to mark an error in determining stretching rules.
|
void |
showError()
Method to highlight the error.
|
public boolean failed()
public void markError(NodeInst ni, Cell cell, java.lang.String errorMessage)
ni
- the NodeInst that caused the error (may be null).cell
- the Cell where the error occurred (may be null).errorMessage
- the message to display.public void markStretchProblem(java.util.List<Example> neList, Sample ns, Cell cell, double sampleCoord, boolean xDir)
neList
- the Examples that invoked the error.ns
- the Sample on the main Example that failed.cell
- the Cell with the error.sampleCoord
- the coordinate (in X or Y) where the failure occurred.xDir
- true for an X-axis error, false for Y-axis.public java.lang.String getErrorMessage()
public void showError()