db4o 6.3

com.db4o.ext
Class Db4oException

java.lang.Object
  extended by ChainedRuntimeException
      extended by com.db4o.ext.Db4oException
Direct Known Subclasses:
BackupInProgressException, ConstraintViolationException, DatabaseClosedException, DatabaseFileLockedException, DatabaseMaximumSizeReachedException, DatabaseReadOnlyException, Db4oIOException, GlobalOnlyConfigException, IncompatibleFileFormatException, InvalidIDException, InvalidPasswordException, OldFormatException

public class Db4oException
extends ChainedRuntimeException

db4o exception wrapper: Exceptions occurring during internal processing will be proliferated to the client calling code encapsulated in an exception of this type. The original exception, if any, is available through Db4oException#getCause().


Constructor Summary
Db4oException()
          Simple constructor
Db4oException(int messageConstant)
          Constructor with an exception message selected from the internal message collection.
Db4oException(java.lang.String msg)
          Constructor with an exception message specified
Db4oException(java.lang.String msg, java.lang.Throwable cause)
          Constructor with an exception message and cause specified
Db4oException(java.lang.Throwable cause)
          Constructor with an exception cause specified
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Db4oException

public Db4oException()
Simple constructor


Db4oException

public Db4oException(java.lang.String msg)
Constructor with an exception message specified

Parameters:
msg - exception message

Db4oException

public Db4oException(java.lang.Throwable cause)
Constructor with an exception cause specified

Parameters:
cause - exception cause

Db4oException

public Db4oException(int messageConstant)
Constructor with an exception message selected from the internal message collection.

Parameters:
messageConstant - internal db4o message number

Db4oException

public Db4oException(java.lang.String msg,
                     java.lang.Throwable cause)
Constructor with an exception message and cause specified

Parameters:
msg - exception message
cause - exception cause

db4o 6.3