Class ConfigException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.mongodb.spark.sql.connector.exceptions.MongoSparkException
-
- com.mongodb.spark.sql.connector.exceptions.ConfigException
-
- All Implemented Interfaces:
java.io.Serializable
public final class ConfigException extends MongoSparkException
A class for all config exceptions- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigException(java.lang.String message)
Constructs a new instance.ConfigException(java.lang.String name, java.lang.Object value, @Nullable java.lang.String message)
Constructs a new instance.ConfigException(java.lang.String message, java.lang.Throwable cause)
Constructs a new instance.ConfigException(java.lang.Throwable cause)
Constructs a new instance.
-
-
-
Constructor Detail
-
ConfigException
public ConfigException(java.lang.String name, java.lang.Object value, @Nullable @Nullable java.lang.String message)
Constructs a new instance.- Parameters:
name
- the name of the configuration optionvalue
- the value of the configuration optionmessage
- an optional helpful error message
-
ConfigException
public ConfigException(java.lang.String message)
Constructs a new instance.- Parameters:
message
- the message
-
ConfigException
public ConfigException(java.lang.String message, java.lang.Throwable cause)
Constructs a new instance.- Parameters:
message
- the messagecause
- the cause
-
ConfigException
public ConfigException(java.lang.Throwable cause)
Constructs a new instance.- Parameters:
cause
- the cause
-
-