private void move() throws RoverException {

		boolean invalidMove = false;
		switch (direction) {
		case NORD:

			if (yCoord + 1 > plateau.getySize()) {
				invalidMove = true;
			} else {
				yCoord++;
			}
			break;
		case EAST:

			if (xCoord + 1 > plateau.getxSize()) {
				invalidMove = true;
			} else {
				xCoord++;
			}
			break;
		case SOUTH:

			if (yCoord - 1 < 0) {
				invalidMove = true;
			} else {
				yCoord--;
			}
			break;
		case WEST:

			if (xCoord - 1 < 0) {
				invalidMove = true;
			} else {
				xCoord--;
			}
			break;
		}

		if (invalidMove) {
			throw new CoordinatesOutOfBoundsException("Trying to move robot "
					+ direction.getCode() + " from (" + xCoord + ", " + yCoord
					+ ")");
		}
	}