| | |
| | | import org.forgerock.util.Reject; |
| | | |
| | | import static org.opends.messages.BackendMessages.*; |
| | | import static org.opends.server.loggers.ErrorLogger.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | |
| | | { |
| | | LocalizableMessage m = ERR_LDIF_BACKEND_DUPLICATE_ENTRY.get(ldifFilePath, |
| | | currentConfig.dn().toString(), entryDN.toString()); |
| | | logError(m); |
| | | logger.error(m); |
| | | reader.rejectLastEntry(m); |
| | | continue; |
| | | } |
| | |
| | | { |
| | | LocalizableMessage m = ERR_LDIF_BACKEND_ENTRY_OUT_OF_SCOPE.get(ldifFilePath, |
| | | currentConfig.dn().toString(), entryDN.toString()); |
| | | logError(m); |
| | | logger.error(m); |
| | | reader.rejectLastEntry(m); |
| | | continue; |
| | | } |
| | |
| | | { |
| | | LocalizableMessage m = ERR_LDIF_BACKEND_MISSING_PARENT.get(ldifFilePath, |
| | | currentConfig.dn().toString(), entryDN.toString()); |
| | | logError(m); |
| | | logger.error(m); |
| | | reader.rejectLastEntry(m); |
| | | continue; |
| | | } |