Class MongoClientEmbeddedException

  • All Implemented Interfaces:
    Serializable

    @Deprecated
    public final class MongoClientEmbeddedException
    extends MongoException
    Deprecated.
    the embedded driver will be removed in the next major release
    Exceptions indicating a failure condition with the embedded MongoClient.
    Since:
    3.8
    See Also:
    Serialized Form
    • Constructor Detail

      • MongoClientEmbeddedException

        public MongoClientEmbeddedException​(int errorCode,
                                            int subErrorCode,
                                            String reason)
        Deprecated.
        Constructs a new instance
        Parameters:
        errorCode - the error code
        subErrorCode - the sub category error code
        reason - the reason for the exception
      • MongoClientEmbeddedException

        public MongoClientEmbeddedException​(String message)
        Deprecated.
        Constructs a new instance.
        Parameters:
        message - the message
      • MongoClientEmbeddedException

        public MongoClientEmbeddedException​(String message,
                                            Throwable cause)
        Deprecated.
        Constructs a new instance.
        Parameters:
        message - the message
        cause - the cause