Adding exceptions in SwordClient