

class ExceptionTest {
	public static void main(String[] args) {

		Player p1 = null;
		try {
			p1 = new Player(null);
		} 
		catch(IllFormedPlayerException e) {
			System.out.println(e.toString());
			return;
		}
		catch(NullPointerException e){
			System.out.println(e.toString());
			return;
		}
		finally {
			System.out.println("always executed");
		}

		p1.sayHello();

	}
}
