getSearchDescriptor().getFilter(), attrs, false );
} catch ( LDAPException except ) {
// Object does not exist, was not removed, ignore.
// Anything else, we must complain.
if ( except.getLDAPResultCode() != LDAPException.NO_SUCH_OBJECT )
throw new ImportExportException( except );
enumeration = null;
}
try {
producer = new MozillaProducer( docHandler, false );
producer.startDocument();
if ( serverSchema ) {
schema = new LDAPSchema();
schema.fetchSchema( _conn );
producer.produce( schema );
}
if ( enumeration != null )
producer.produce( enumeration );
if ( importPolicy && getImportDescriptor() != null )
producer.produce( getImportDescriptor() );
producer.endDocument();
} catch ( SAXException except ) {
throw new ImportExportException( except );
} catch ( LDAPException except ) {
throw new ImportExportException( except );
}
}