}
private void checkSecurityIdType() {
if (StringUtils.isNotEmpty(contract.getSecurityId()) || (contract.getSecurityIdentifierCode() != null)) {
if (!Feature.SECURITY_ID_TYPE.isSupportedByVersion(getServerCurrentVersion())) {
throw new RequestException(ClientMessageCode.UPDATE_TWS,
"It does not support secIdType and secId parameters.", this);
}
}
}