public class BasicTopologyValidationError extends ValidationError
Validator
Constructor and Description |
---|
BasicTopologyValidationError(com.vividsolutions.jts.operation.valid.TopologyValidationError basicTopologyError,
Feature feature)
Creates a BasicTopologyValidationError that wraps a JTS TopologyValidationError.
|
Modifier and Type | Method and Description |
---|---|
com.vividsolutions.jts.geom.Coordinate |
getLocation()
Returns a point near the error.
|
java.lang.String |
getMessage()
Returns a description of the error.
|
getFeature, getType
public BasicTopologyValidationError(com.vividsolutions.jts.operation.valid.TopologyValidationError basicTopologyError, Feature feature)
basicTopologyError
- the JTS error to wrapfeature
- the feature with the errorpublic java.lang.String getMessage()
ValidationError
getMessage
in class ValidationError
public com.vividsolutions.jts.geom.Coordinate getLocation()
ValidationError
getLocation
in class ValidationError