com.sleepycat.je
Class LogWriteException

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.RunRecoveryException
                      extended by com.sleepycat.je.EnvironmentFailureException
                          extended by com.sleepycat.je.LogWriteException
All Implemented Interfaces:
Serializable

public class LogWriteException
extends EnvironmentFailureException

Thrown when an IOException or other failure occurs when writing to the JE log. This exception may be indicative of a full disk, although an IOException does not contain enough information to determine this definitively.

This exception may be thrown as the result of any write operation, including record writes, checkpoints, etc.

Existing Environment handles are invalidated as a result of this exception.

Since:
4.0
See Also:
Serialized Form

Constructor Summary
LogWriteException(EnvironmentImpl envImpl, String message)
          For internal use only.
LogWriteException(EnvironmentImpl envImpl, String message, Throwable t)
          For internal use only.
LogWriteException(EnvironmentImpl envImpl, Throwable t)
          For internal use only.
 
Method Summary
 EnvironmentFailureException wrapSelf(String msg)
          For internal use only.
 
Methods inherited from class com.sleepycat.je.EnvironmentFailureException
getMessage, getReason, makeJavaErrorWrapper, promote, setAlreadyThrown, unexpectedException, unexpectedException, unexpectedException, unexpectedException, unexpectedState, unexpectedState, unexpectedState, unexpectedState
 
Methods inherited from class com.sleepycat.je.DatabaseException
addErrorMessage, 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

LogWriteException

public LogWriteException(EnvironmentImpl envImpl,
                         String message)
For internal use only.


LogWriteException

public LogWriteException(EnvironmentImpl envImpl,
                         Throwable t)
For internal use only.


LogWriteException

public LogWriteException(EnvironmentImpl envImpl,
                         String message,
                         Throwable t)
For internal use only.

Method Detail

wrapSelf

public EnvironmentFailureException wrapSelf(String msg)
For internal use only.

Overrides:
wrapSelf in class EnvironmentFailureException


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