public class MongoClientException extends MongoException
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
public MongoClientException(java.lang.String message)
message
- the messagepublic MongoClientException(java.lang.String message, java.lang.Throwable cause)
message
- the messagecause
- the cause