Class MongoConfigurationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bayudwiyansatria.spring.exception.MongoConfigurationException
All Implemented Interfaces:
Serializable

public class MongoConfigurationException extends RuntimeException
MongoConfigurationException

This class represents an exception that is thrown when there is a configuration error with MongoDB.

It extends RuntimeException and provides constructors to create an exception with a message and an optional cause.

Since:
0.0.1
Version:
0.0.1
Author:
Bayu Dwiyan Satria
See Also:
  • Constructor Details

    • MongoConfigurationException

      public MongoConfigurationException(String message)
      Constructs a new MongoConfigurationException with the specified detail message.
      Parameters:
      message - the detail message
      Since:
      0.0.1
    • MongoConfigurationException

      public MongoConfigurationException(String message, Throwable cause)
      Constructs a new MongoConfigurationException with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause of the exception
      Since:
      0.0.1