DatabaseOpenException
. A DatabaseNotFoundException
is thrown if the database does not exist. Some implementations may throw additional exceptions that are also derived from ODMGException
.
@param name The name of the database.
@param accessMode The access mode, which should be one of the static fields:OPEN_READ_ONLY
, OPEN_READ_WRITE
, or OPEN_EXCLUSIVE
.
@exception ODMGException The database could not be opened.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|