}
public ExportMarshallerRunnable(final Diagram diagram, final String marshallerName) {
this.diagram = diagram;
this.marshallers = new ArrayList<ExportMarshaller>();
final ExportMarshaller marshaller = ExtensionPointUtil.getExportMarshaller(marshallerName);
if (marshaller == null) {
throw new IllegalArgumentException("Unable to invoke ExportMarshaller with name " + marshallerName);
}
this.marshallers.add(marshaller);
}