InvalidConfigurationException
Stay organized with collections
Save and categorize content based on your preferences.
Exception that is thrown for fatal configuration errors.
This exception type bypasses the retry with back-off recovery logic of Application
and
immediately terminates the connector execution.
Public Constructor Summary
|
|
|
|
|
|
|
InvalidConfigurationException(Throwable cause)
Constructs a configuration exception with specified cause, copying its message if cause
is non-null .
|
Inherited Method Summary
From class
java.lang.Throwable
synchronized
final
void
|
addSuppressed(Throwable arg0)
|
synchronized
Throwable
|
fillInStackTrace()
|
synchronized
Throwable
|
getCause()
|
String
|
getLocalizedMessage()
|
String
|
getMessage()
|
StackTraceElement[]
|
getStackTrace()
|
synchronized
final
Throwable[]
|
getSuppressed()
|
synchronized
Throwable
|
initCause(Throwable arg0)
|
void
|
printStackTrace()
|
void
|
printStackTrace(PrintWriter arg0)
|
void
|
printStackTrace(PrintStream arg0)
|
void
|
setStackTrace(StackTraceElement[] arg0)
|
String
|
toString()
|
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
Public Constructors
public
InvalidConfigurationException
()
Constructs a configuration exception with no message and no cause.
public
InvalidConfigurationException
(String message)
Constructs a configuration exception with a supplied message but no cause.
Parameters
message |
the message, retrievable using the getMessage() method
|
public
InvalidConfigurationException
(String message, Throwable cause)
Constructs a configuration exception with message and cause.
Parameters
message |
the message, retrievable using the getMessage() method |
cause |
failure cause
|
public
InvalidConfigurationException
(Throwable cause)
Constructs a configuration exception with specified cause, copying its message if cause
is non-null
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-18 UTC.
[null,null,["Last updated 2025-03-18 UTC."],[],[],null,["# InvalidConfigurationException\n\npublic class **InvalidConfigurationException** extends [StartupException](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/StartupException) \nException that is thrown for fatal configuration errors.\n\nThis exception type bypasses the retry with back-off recovery logic of [Application](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/Application) and\nimmediately terminates the connector execution. \n\n### Public Constructor Summary\n\n|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | [InvalidConfigurationException](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/InvalidConfigurationException#InvalidConfigurationException())() Constructs a configuration exception with no message and no cause. |\n| | [InvalidConfigurationException](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/InvalidConfigurationException#InvalidConfigurationException(java.lang.String))(String message) Constructs a configuration exception with a supplied message but no cause. |\n| | [InvalidConfigurationException](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/InvalidConfigurationException#InvalidConfigurationException(java.lang.String, java.lang.Throwable))(String message, Throwable cause) Constructs a configuration exception with message and cause. |\n| | [InvalidConfigurationException](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/InvalidConfigurationException#InvalidConfigurationException(java.lang.Throwable))(Throwable cause) Constructs a configuration exception with specified cause, copying its message if cause is non-`null`. |\n\n### Inherited Method Summary\n\nFrom class java.lang.Throwable \n\n|----------------------------------|-------------------------------------------|\n| synchronized final void | addSuppressed(Throwable arg0) |\n| synchronized Throwable | fillInStackTrace() |\n| synchronized Throwable | getCause() |\n| String | getLocalizedMessage() |\n| String | getMessage() |\n| StackTraceElement\\[\\] | getStackTrace() |\n| synchronized final Throwable\\[\\] | getSuppressed() |\n| synchronized Throwable | initCause(Throwable arg0) |\n| void | printStackTrace() |\n| void | printStackTrace(PrintWriter arg0) |\n| void | printStackTrace(PrintStream arg0) |\n| void | setStackTrace(StackTraceElement\\[\\] arg0) |\n| String | toString() |\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Constructors\n-------------------\n\n#### public\n**InvalidConfigurationException**\n()\n\nConstructs a configuration exception with no message and no cause. \n\n#### public\n**InvalidConfigurationException**\n(String message)\n\nConstructs a configuration exception with a supplied message but no cause. \n\n##### Parameters\n\n| message | the message, retrievable using the [getMessage()](/workspace/cloud-search/docs/reference/sdk/java/lang/Throwable#getMessage()) method |\n|---------|---------------------------------------------------------------------------------------------------------------------------------------|\n\n#### public\n**InvalidConfigurationException**\n(String message, Throwable cause)\n\nConstructs a configuration exception with message and cause. \n\n##### Parameters\n\n| message | the message, retrievable using the [getMessage()](/workspace/cloud-search/docs/reference/sdk/java/lang/Throwable#getMessage()) method |\n| cause | failure cause |\n|---------|---------------------------------------------------------------------------------------------------------------------------------------|\n\n#### public\n**InvalidConfigurationException**\n(Throwable cause)\n\nConstructs a configuration exception with specified cause, copying its message if cause\nis non-`null`. \n\n##### Parameters\n\n| cause | failure cause |\n|-------|---------------|"]]