/** * Return a dissemination crosswalk for the given name. * * @param crosswalkName * @return The crosswalk or throw an exception if not found. */ public final DisseminationCrosswalk getDisseminationCrosswalk(String crosswalkName) throws WingException { // FIXME add some caching here DisseminationCrosswalk crosswalk = (DisseminationCrosswalk) PluginManager.getNamedPlugin(DisseminationCrosswalk.class, crosswalkName); if (crosswalk == null) { throw new WingException("Unable to find named DisseminationCrosswalk: " + crosswalkName); } return crosswalk; }
if (!(DOCUMENT_VERSION.equals(version))) throw new WingException("Incompatable DRI versions, " + DOCUMENT_VERSION + " != " + version);
throw new WingException( "Unable to reference object because no object manager has been defined."); throw new WingException( "The available object manager is unable to manage the give object.");
(characters == null || characters.length() <= 0)) throw new WingException("No message found.");
throw new WingException("Stack not initialized."); throw new WingException( "Attempting to merge DRI documents but the source document is not compatable with the feeder document.");
throw new WingException("Unable to get sort options", se);
throw new WingException("Unable to get sort options", se);
throw new WingException(ce);
throw new WingException(jdome);
throw new WingException("Unable to get sort options", se);
throw new WingException(jdome);
throw new WingException(jdome);
if (MetadataAuthorityManager.getManager().isAuthorityControlled(fieldKey)) throw new WingException("Field " + fieldKey + " has choice presentation of type \"" + Params.PRESENTATION_SELECT + "\", it may NOT be authority-controlled.");