com.google.enterprise.adaptor
Class StartupException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.google.enterprise.adaptor.StartupException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidConfigurationException, UnsupportedPlatformException

public class StartupException
extends RuntimeException

Thrown for unrecoverable startup errors, such as fatal configuration errors or running on the wrong platform. StartupExceptions will bypass the retry with back-off recovery logic and immediately terminate the adaptor.

See Also:
Serialized Form

Constructor Summary
StartupException()
          Constructs a new StartupException with no message and no root cause.
StartupException(String message)
          Constructs a StartupException with a supplied message but no root cause.
StartupException(String message, Throwable rootCause)
          Constructs a StartupException with message and root 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

StartupException

public StartupException()
Constructs a new StartupException with no message and no root cause.


StartupException

public StartupException(String message)
Constructs a StartupException with a supplied message but no root cause.

Parameters:
message - the message. Can be retrieved by the Throwable.getMessage() method.

StartupException

public StartupException(String message,
                        Throwable rootCause)
Constructs a StartupException with message and root cause.

Parameters:
message - the message. Can be retrieved by the Throwable.getMessage() method.
rootCause - root failure cause