public class ConstraintEnforcementException extends RuntimeException
| Constructor and Description |
|---|
ConstraintEnforcementException(String msg)
Creates a new instance with a given message.
|
ConstraintEnforcementException(String msg,
Coordinate pt)
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(String msg)
msg - a stringpublic ConstraintEnforcementException(String msg, Coordinate pt)
msg - a stringpt - the location of the errorpublic Coordinate getCoordinate()
Copyright © 2024. All rights reserved.