Package com.db4o.ext

Class 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
    • 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.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • 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.