com.sleepycat.je
Class DatabaseExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sleepycat.je.DatabaseException
com.sleepycat.je.OperationFailureException
com.sleepycat.je.DatabaseExistsException
- All Implemented Interfaces:
- Serializable
public class DatabaseExistsException
- extends OperationFailureException
Thrown by Environment.openDatabase
and
Environment.openSecondaryDatabase
if the database already exists and the DatabaseConfig
ExclusiveCreate
parameter is true.
The Transaction
handle is not invalidated as a result of
this exception.
- Since:
- 4.0
- See Also:
- Serialized Form
DatabaseExistsException
public DatabaseExistsException(String message)
- For internal use only.
wrapSelf
public OperationFailureException wrapSelf(String msg)
- For internal use only.
- Specified by:
wrapSelf
in class OperationFailureException
Copyright (c) 2004-2012 Oracle. All rights reserved.