public void checkWin() throws WhoWinException{
		if (dealer.getValue()>21){
			player.playerWin();
			throw new WhoWinException("/photos/player_win.png");
		}
		if (dealer.getValue()>player.getValue()){
			player.playerLose();
			throw new WhoWinException("/photos/Dealer_win.png");
		}
		else if (dealer.getValue()<player.getValue()){
			player.playerWin();
			throw new WhoWinException("/photos/Player_win.png");
		}
		else{
			throw new WhoWinException("/photos/Its_a_Tie.png");
		}
	}