Class ConstraintEnforcementException

    • Constructor Detail

      • ConstraintEnforcementException

        public ConstraintEnforcementException(String msg)
        Creates a new instance with a given message.
        Parameters:
        msg - a string
      • ConstraintEnforcementException

        public ConstraintEnforcementException(String msg,
                                              Coordinate pt)
        Creates a new instance with a given message and approximate location.
        Parameters:
        msg - a string
        pt - the location of the error
    • Method Detail

      • getCoordinate

        public Coordinate getCoordinate()
        Gets the approximate location of this error.
        Returns:
        a location