com.sleepycat.persist.impl
Class RefreshException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sleepycat.persist.impl.RefreshException
- All Implemented Interfaces:
- Serializable
public class RefreshException
- extends RuntimeException
Thrown and handled internally when metadata must be refreshed on a Replica.
See the refresh() method below.
- See Also:
- Serialized Form
RefreshException
RefreshException(Store store,
PersistCatalog catalog,
int formatId)
refresh
PersistCatalog refresh()
- This method must be called to handle this exception in the binding
methods, after the stack has rewound. The binding methods should retry
the operation once after calling this method. If the operation fails
again, then corruption rather than stale metadata is the likely cause
of the problem, and an exception will be thrown to that effect.
[#16655]
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
Copyright (c) 2004-2010 Oracle. All rights reserved.