org.neo4j.server
Class ServerStartupException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.neo4j.server.ServerStartupException
All Implemented Interfaces:
Serializable

public class ServerStartupException
extends RuntimeException

Thrown during start-up of the server, with an explicit error code.

See Also:
Serialized Form

Constructor Summary
ServerStartupException(String message, Integer errorCode)
          Creates a new exception with an message and error code.
ServerStartupException(String message, Throwable t)
           
 
Method Summary
 Integer getErrorCode()
           
 
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

ServerStartupException

public ServerStartupException(String message,
                              Integer errorCode)
Creates a new exception with an message and error code.

Parameters:
message - sensible explanation about the exception, excluding the error code value, which will be automatically appended
errorCode - unique identifying number for the error

ServerStartupException

public ServerStartupException(String message,
                              Throwable t)
Method Detail

getErrorCode

public Integer getErrorCode()


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