addMessage(getText(ex.getErrorKey()));
}
} else {
try {
// if MediaCast string is empty, clean out MediaCast attributes
weblogMgr.removeWeblogEntryAttribute("att_mediacast_url", entry);
weblogMgr.removeWeblogEntryAttribute("att_mediacast_type", entry);
weblogMgr.removeWeblogEntryAttribute("att_mediacast_length", entry);
} catch (WebloggerException e) {
addMessage(getText("weblogEdit.mediaCastErrorRemoving"));