com.sleepycat.je.rep
Class LogOverwriteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sleepycat.je.DatabaseException
                  extended by com.sleepycat.je.OperationFailureException
                      extended by com.sleepycat.je.rep.LogOverwriteException
All Implemented Interfaces:
Serializable

public class LogOverwriteException
extends OperationFailureException

Thrown when one or more log files are modified (overwritten) as the result of a replication operation. This occurs when a replication operation must change existing data in a log file in order to synchronize with other nodes in a replication group. Any previously copied log files may be invalid and should be discarded.

This exception is thrown by DbBackup. Backups and similar operations that copy log files should discard any copied files when this exception occurs, and may retry the operation at a later time. The time interval during which backups are not possible will be fairly short (less than a minute).

Note that this exception is never thrown in a standalone (non-replicated) environment.

The Transaction handle is not invalidated as a result of this exception.

Since:
4.0
See Also:
Serialized Form

Constructor Summary
LogOverwriteException(String message)
          For internal use only.
 
Method Summary
 OperationFailureException wrapSelf(String message)
          For internal use only.
 
Methods inherited from class com.sleepycat.je.DatabaseException
addErrorMessage, getMessage, getVersionHeader
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogOverwriteException

public LogOverwriteException(String message)
For internal use only.

Method Detail

wrapSelf

public OperationFailureException wrapSelf(String message)
For internal use only.

Specified by:
wrapSelf in class OperationFailureException


Copyright (c) 2004-2010 Oracle. All rights reserved.