catch exceptions unmarshalling data