db4o 7.4

com.db4o.ext
Class Db4oException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.db4o.foundation.ChainedRuntimeException
                  extended by com.db4o.ext.Db4oException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BackupInProgressException, ConstraintViolationException, DatabaseClosedException, DatabaseFileLockedException, DatabaseMaximumSizeReachedException, DatabaseReadOnlyException, Db4oIOException, EventException, GlobalOnlyConfigException, IncompatibleFileFormatException, InvalidIDException, InvalidPasswordException, InvalidSlotException, ObjectNotStorableException, OldFormatException

public class Db4oException
extends com.db4o.foundation.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().

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.db4o.foundation.ChainedRuntimeException
com.db4o.foundation.ChainedRuntimeException.ChainedRuntimeExceptionMixin
 
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.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, 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 7.4

Copyright 2007 db4objects Inc. All rights reserved.