public class IndexNotAvailableException extends OperationFailureException
getPrimaryIndex
, getSecondaryIndex
and getSubclassIndex
when an index has not yet
been created.
This exception can be thrown in two circumstances.
It can be thrown when opening an environment read-only with new persistent classes that define a new primary or secondary index. The index does not exist because the environment has not yet been opened read-write with the new classes. When the index is created by a read-write application, the read-only application must close and re-open the environment in order to open the new index.
Constructor and Description |
---|
IndexNotAvailableException(String message)
For internal use only.
|
Modifier and Type | Method and Description |
---|---|
OperationFailureException |
wrapSelf(String msg)
For internal use only.
|
addErrorMessage, addRethrownStackTrace, getMessage, getVersionHeader
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IndexNotAvailableException(String message)
public OperationFailureException wrapSelf(String msg)
wrapSelf
in class OperationFailureException
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.