Class MongoSparkException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.mongodb.spark.sql.connector.exceptions.MongoSparkException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ConfigException
,DataException
public class MongoSparkException extends java.lang.RuntimeException
A base class for all mongo spark exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MongoSparkException(java.lang.String message)
Constructs a new instance.MongoSparkException(java.lang.String message, java.lang.Throwable cause)
Constructs a new instance.MongoSparkException(java.lang.Throwable cause)
Constructs a new instance.
-
-
-
Constructor Detail
-
MongoSparkException
public MongoSparkException(java.lang.String message)
Constructs a new instance.- Parameters:
message
- the message
-
MongoSparkException
public MongoSparkException(java.lang.String message, java.lang.Throwable cause)
Constructs a new instance.- Parameters:
message
- the messagecause
- the cause
-
MongoSparkException
public MongoSparkException(java.lang.Throwable cause)
Constructs a new instance.- Parameters:
cause
- the cause
-
-