config, linkTo, options, errorWatcher, filer!=null, null, null, null);
// if there is an error and compile didn't recover (stsi==null), throw exception
if (errorWatcher.hasError() && stsi == null)
{
throw new XmlException(errorWatcher.firstError());
}
if (stsi != null && !stsi.isIncomplete() && filer != null)
{
stsi.save(filer);