public class MongoClientException extends MongoException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
MongoClientException(java.lang.String message)
Constructs a new instance.
|
MongoClientException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new instance.
|
fromThrowable, getCode
private static final long serialVersionUID
public MongoClientException(java.lang.String message)
message
- the messagepublic MongoClientException(java.lang.String message, java.lang.Throwable cause)
message
- the messagecause
- the cause