Checks for an exception

If l is bigger than _tileObjects.length then there is an exception when trying to access the null tile. (In row 602) The user also must be warned about the error, because probably he haven't supplied the correct Tile or Range parameter.