return
lonLo <= lonHi
? new Box(latLo, latHi, lonLo, lonHi)
: new BoxLatLonWithWraparound(latLo, latHi, lonLo, lonHi);
} catch (IllegalArgumentException e) {
throw new OutOfRangeException(String.format("latLo = %s, latHi = %s, lonLo = %s, lonHi = %s",
latLo, latHi, lonLo, lonHi));
}
}