Package com.mongodb

Class MongoConfigurationException

All Implemented Interfaces:
Serializable

public class MongoConfigurationException extends MongoClientException
An exception indicating a configuration error in the client.
Since:
3.4
See Also:
  • Constructor Details

    • MongoConfigurationException

      public MongoConfigurationException(String message)
      Construct an instance with the given message.
      Parameters:
      message - the message
    • MongoConfigurationException

      public MongoConfigurationException(String message, Throwable cause)
      Construct an instance with the given message and cause.
      Parameters:
      message - the message
      cause - the cause
      Since:
      3.6