Package com.db4o.ext
Class InvalidSlotException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.db4o.foundation.ChainedRuntimeException
-
- com.db4o.ext.Db4oException
-
- com.db4o.ext.Db4oRecoverableException
-
- com.db4o.ext.InvalidSlotException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidSlotException extends Db4oRecoverableException
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
ChainedRuntimeException.ChainedRuntimeExceptionMixin
-
-
Constructor Summary
Constructors Constructor Description 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.
-
-
-
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 addresslength
- offending lengthid
- id where the address and length were read.
-
-