mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

boli
24.19.2008 ecfef39261a93e691fd5e52a2ce0b4b88a032bef
opends/src/server/org/opends/server/loggers/LogPublisherErrorHandler.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
 *      Portions Copyright 2006-2008 Sun Microsystems, Inc.
 */
package org.opends.server.loggers;
import org.opends.messages.Message;
@@ -115,4 +115,19 @@
            stackTraceToSingleLineString(ex));
    System.err.println(msg);
  }
  /**
   * Handle an exception which occured while trying to list log files
   * in a directory.
   * @param retentionPolicy - the retention policy being enforced when
   *                          the exception occured.
   * @param ex - the exception occurred.
   */
  public void handleDeleteError(RetentionPolicy retentionPolicy, Throwable ex)
  {
    Message msg = ERR_LOGGER_ERROR_ENFORCING_RETENTION_POLICY.get(
            retentionPolicy.toString(), publisherConfigDN.toString(),
            stackTraceToSingleLineString(ex));
    System.err.println(msg);
  }
}