|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.enterprise.adaptor.StartupException
public class StartupException
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.
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 |
---|
public StartupException()
public StartupException(String message)
message
- the message. Can be retrieved by the Throwable.getMessage()
method.public StartupException(String message, Throwable rootCause)
message
- the message. Can be retrieved by the Throwable.getMessage()
method.rootCause
- root failure cause
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |