/** * Creates a new instance with a given message and approximate location. * * @param msg a string * @param pt the location of the error */ public ConstraintEnforcementException(String msg, Coordinate pt) { super(msgWithCoord(msg, pt)); this.pt = new Coordinate(pt); }
/** * Creates a new instance with a given message and approximate location. * * @param msg a string * @param pt the location of the error */ public ConstraintEnforcementException(String msg, Coordinate pt) { super(msgWithCoord(msg, pt)); this.pt = new Coordinate(pt); }