Package com.db4o.ext
Class InvalidIDException
- 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.InvalidIDException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidIDException extends Db4oRecoverableException
db4o-specific exception.
This exception is thrown when the supplied object ID is incorrect (outside the scope of the database IDs).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.db4o.foundation.ChainedRuntimeException
ChainedRuntimeException.ChainedRuntimeExceptionMixin
-
-
Constructor Summary
Constructors Constructor Description InvalidIDException(int id)
Constructor allowing to specify the offending idInvalidIDException(java.lang.Throwable cause)
Constructor allowing to specify the exception cause
-
-
-
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
-
-