Added check to JAXBException handling to make the exception's Linked Exception is not null and its message is not null.