Java client: Add IntegrityException