org.neo4j.kernel.ha
Class DatabaseNotRunningException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.neo4j.kernel.ha.DatabaseNotRunningException
- All Implemented Interfaces:
- Serializable
public class DatabaseNotRunningException
- extends RuntimeException
Thrown when running operations against a database that has been shut down. This can happen without explicitly
shutting the database down, because the database will perform internal restarts as part of normal operations.
This happens for instance during master switches.
Normally, when the database is performing internal restarts, calling methods on the database will lead to your
call being blocked until the restart is complete. If the restart takes a long time, however, this exception will
get thrown. You can set the timeout using the HaSettings.read_timeout setting.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DatabaseNotRunningException
public DatabaseNotRunningException(String message,
Throwable cause)
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.