com.google.enterprise.adaptor
Class InvalidConfigurationException

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
                  extended by com.google.enterprise.adaptor.InvalidConfigurationException
All Implemented Interfaces:
Serializable

public class InvalidConfigurationException
extends StartupException

Thrown for unrecoverable configuration errors. Recoverable configuration problems (such as server off-line) should throw something other than StartupException, so that the retry with backoff logic will be used.

See Also:
Serialized Form

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

InvalidConfigurationException

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


InvalidConfigurationException

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

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

InvalidConfigurationException

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

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