An exception meant to be thrown when trying to compare incompatible distances.
class UncomparableDistancesException : IllegalArgumentException