name = ERROR_MESSAGE;
formula = null;
}
// Create and return the compound record.
return new DBCompound(OnlineDatabase.CHEMSPIDER, ID, name, formula,
new URL(STRUCTURE_URL_PATTERN.replaceFirst("CSID", ID)),
new URL(STRUCTURE2D_URL_PATTERN.replaceFirst("CSID", ID)),
new URL(STRUCTURE3D_URL_PATTERN.replaceFirst("CSID", ID)));
}