throw new FactoryException("Unknown workflow name \"" + name + "\"");
throw new FactoryException("Unknown workflow name \"" + name + '\"');
    public WorkflowDescriptor getWorkflow(String name, boolean validate) throws FactoryException {        WorkflowConfig c = (WorkflowConfig) workflows.get(name);        if (c == null) {            throw new FactoryException("Unknown workflow name \"" + name + "\"");        }        if (c.descriptor != null) {            if (reload) {                File file = new File(c.url.getFile());                if (file.exists() && (file.lastModified() > c.lastModified)) {                    c.lastModified = file.lastModified();                    loadWorkflow(c, validate);                }            }        } else {            loadWorkflow(c, validate);        }        c.descriptor.setName(name);        return c.descriptor;    }