try {
SerializationStreamFactory theSerializationStreamFactory = GWT.create(EventService.class);
SerializationStreamReader theSerializationStreamReader = theSerializationStreamFactory.createStreamReader(anEvent);
return (DomainEvent)theSerializationStreamReader.readObject();
} catch(SerializationException e) {
throw new RemoteEventServiceRuntimeException("Error on de-serializing event \"" + anEvent + "\"!", e);
}
}