java.io.Serializablepublic class ConstraintEnforcementException
extends java.lang.RuntimeException
| Constructor | Description |
|---|---|
ConstraintEnforcementException(java.lang.String msg) |
Creates a new instance with a given message.
|
ConstraintEnforcementException(java.lang.String msg,
Coordinate pt) |
Creates a new instance with a given message and approximate location.
|
| Modifier and Type | Method | Description |
|---|---|---|
Coordinate |
getCoordinate() |
Gets the approximate location of this error.
|
public ConstraintEnforcementException(java.lang.String msg)
msg - a stringpublic ConstraintEnforcementException(java.lang.String msg,
Coordinate pt)
msg - a stringpt - the location of the errorpublic Coordinate getCoordinate()
Copyright © 2018. All rights reserved.