org.neo4j.server
Class ServerStartupException

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

public class ServerStartupException
extends Exception

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.
 
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
Method Detail

getErrorCode

public Integer getErrorCode()


Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.