db4o 7.4

com.db4o.ext
Class InvalidIDException

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.InvalidIDException
All Implemented Interfaces:
java.io.Serializable

public class InvalidIDException
extends Db4oException

db4o-specific exception.

This exception is thrown when the supplied object ID is incorrect (outside the scope of the database IDs).

See Also:
ExtObjectContainer.bind(Object, long), ExtObjectContainer.getByID(long), Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.db4o.foundation.ChainedRuntimeException
com.db4o.foundation.ChainedRuntimeException.ChainedRuntimeExceptionMixin
 
Constructor Summary
InvalidIDException(int id)
          Constructor allowing to specify the offending id
InvalidIDException(java.lang.Throwable cause)
          Constructor allowing to specify the exception cause
 
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

InvalidIDException

public InvalidIDException(java.lang.Throwable cause)
Constructor allowing to specify the exception cause

Parameters:
cause - cause exception

InvalidIDException

public InvalidIDException(int id)
Constructor allowing to specify the offending id

Parameters:
id - the offending id

db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.