Catch ActivitiException instead of XMLException