| | |
| | | import org.opends.server.util.StaticUtils; |
| | | import org.opends.server.util.ServerConstants; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugCought; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugCaught; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugEnabled; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugError; |
| | | import org.opends.server.types.DebugLogLevel; |
| | |
| | | errorCount++; |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("Malformed id2entry ID %s.%n", |
| | | StaticUtils.bytesToHex(key.getData())); |
| | |
| | | errorCount++; |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("Malformed id2entry record for ID %d:%n%s%n", |
| | | entryID.longValue(), |
| | |
| | | errorCount++; |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("File dn2id has malformed key %s.%n", |
| | | StaticUtils.bytesToHex(key.getData())); |
| | |
| | | errorCount++; |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("File dn2id has malformed ID for DN <%s>:%n%s%n", |
| | | dn.toNormalizedString(), |
| | |
| | | errorCount++; |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | } |
| | | continue; |
| | | } |
| | |
| | | errorCount++; |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("File id2children has malformed ID %s%n", |
| | | StaticUtils.bytesToHex(key.getData())); |
| | |
| | | errorCount++; |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("File id2children has malformed ID list " + |
| | | "for ID %s:%n%s%n", entryID, |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | } |
| | | errorCount++; |
| | | continue; |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | } |
| | | errorCount++; |
| | | continue; |
| | |
| | | errorCount++; |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("File id2subtree has malformed ID %s%n", |
| | | StaticUtils.bytesToHex(key.getData())); |
| | |
| | | errorCount++; |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("File id2subtree has malformed ID list " + |
| | | "for ID %s:%n%s%n", entryID, |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | } |
| | | errorCount++; |
| | | continue; |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | } |
| | | errorCount++; |
| | | continue; |
| | |
| | | errorCount++; |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("Malformed ID list: %s%n%s", |
| | | StaticUtils.bytesToHex(data.getData()), |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | } |
| | | errorCount++; |
| | | continue; |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | } |
| | | } |
| | | } |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("File dn2id has error reading key %s: %s.%n", |
| | | dn.toNormalizedString(), |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("File dn2id has error reading key %s: %s.%n", |
| | | parentDN.toNormalizedString(), |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("File dn2id has error reading key %s: %s.", |
| | | parentDN.toNormalizedString(), |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("File id2children has error reading key %d: %s.", |
| | | parentID.longValue(), e.getMessage()); |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("File dn2id has error reading key %s: %s.%n", |
| | | dn.toNormalizedString(), |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("File id2subtree has error reading key %d: %s.%n", |
| | | id.longValue(), e.getMessage()); |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("Error normalizing values of attribute %s in " + |
| | | "entry <%s>: %s.%n", |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("Error reading database: %s%n%s", |
| | | e.getMessage(), |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("Error reading database: %s%n%s", |
| | | e.getMessage(), |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("Error reading database: %s%n%s", |
| | | e.getMessage(), |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | |
| | | debugError("Error reading database: %s%n%s", |
| | | e.getMessage(), |
| | |
| | | { |
| | | if (debugEnabled()) |
| | | { |
| | | debugCought(DebugLogLevel.ERROR, e); |
| | | debugCaught(DebugLogLevel.ERROR, e); |
| | | } |
| | | } |
| | | |