db4o 7.4

com.db4o.ext
Class InvalidSlotException

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
                      extended by com.db4o.ext.InvalidSlotException
All Implemented Interfaces:
java.io.Serializable

public class InvalidSlotException
extends Db4oException

db4o-specific exception.

This exception is thrown when db4o reads slot information which is not valid (length or address).

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.db4o.foundation.ChainedRuntimeException
com.db4o.foundation.ChainedRuntimeException.ChainedRuntimeExceptionMixin
 
Constructor Summary
InvalidSlotException(int address, int length, int id)
          Constructor allowing to specify the address, length and id.
InvalidSlotException(java.lang.String msg)
          Constructor allowing to specify a detailed message.
 
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

InvalidSlotException

public InvalidSlotException(java.lang.String msg)
Constructor allowing to specify a detailed message.

Parameters:
msg - message

InvalidSlotException

public InvalidSlotException(int address,
                            int length,
                            int id)
Constructor allowing to specify the address, length and id.

Parameters:
address - offending address
length - offending length
id - id where the address and length were read.

db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.