Class DataException
- 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.DataException
-
- All Implemented Interfaces:
java.io.Serializable
public final class DataException extends MongoSparkException
A class for all data exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataException(java.lang.String message)
Constructs a new instance.DataException(java.lang.String message, java.lang.Throwable cause)
Constructs a new instance.DataException(java.lang.Throwable cause)
Constructs a new instance.
-
-
-
Constructor Detail
-
DataException
public DataException(java.lang.String message)
Constructs a new instance.- Parameters:
message
- the message
-
DataException
public DataException(java.lang.String message, java.lang.Throwable cause)
Constructs a new instance.- Parameters:
message
- the messagecause
- the cause
-
DataException
public DataException(java.lang.Throwable cause)
Constructs a new instance.- Parameters:
cause
- the cause
-
-