public class ConstraintEnforcementException extends RuntimeException
| Constructor and Description |
|---|
ConstraintEnforcementException(String
Creates a new instance with a given message.
|
ConstraintEnforcementException(String
Creates a new instance with a given message and approximate location.
|
| Modifier and Type | Method and Description |
|---|---|
Coordinate |
getCoordinate()
Gets the approximate location of this error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConstraintEnforcementException(Stringmsg)
msg - a string
public ConstraintEnforcementException(Stringmsg, Coordinate pt)
msg - a string
pt - the location of the error
public CoordinategetCoordinate()