org.neo4j.kernel.ha
Class DatabaseNotRunningException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
DatabaseNotRunningException(String message, Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseNotRunningException

public DatabaseNotRunningException(String message,
                                   Throwable cause)


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.