public static void checkValidLatLong(String latOrLong, String errorMsg) {
    """
	Checks that a string is a valid longitude or latitude value ('lat' and 'lng')
	as shown in <a href="http://instagram.com/developer/realtime/">Instagram Developer real time section</a>
	
	@param latOrLong any string
	@param errorMsg error message
    """
		checkEmptyString(latOrLong, errorMsg);
		check(isLatLong(latOrLong), errorMsg);
	}
public static void checkValidLatLong(String latOrLong, String errorMsg) {
		checkEmptyString(latOrLong, errorMsg);
		check(isLatLong(latOrLong), errorMsg);
	}
public static void checkValidLatLong ( String latOrLong , String errorMsg ) { checkEmptyString ( latOrLong , errorMsg ) ; check ( isLatLong ( latOrLong ) , errorMsg ) ; }
Checks that a string is a valid longitude or latitude value ('lat' and 'lng')
as shown in <a href="http://instagram.com/developer/realtime/">Instagram Developer real time section</a>

@param latOrLong any string
@param errorMsg error message
Checks that a string is a valid longitude or latitude value ( lat and lng ) as shown in <a href = http : // instagram . com / developer / realtime / > Instagram Developer real time section< / a >