public boolean isException() {
return exception;
}
}
GreeterData gd = new GreeterDataImpl("Stranger", 11, true);
client.greetMe(gd);
Assert.fail("GreeterException has to be thrown");
} catch (GreeterException ex) {
Assert.assertEquals("Wrong exception message",
"GreeterService can not greet Stranger",