Class MongoConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bayudwiyansatria.spring.exception.MongoConfigurationException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionMongoConfigurationException
(String message) Constructs a new MongoConfigurationException with the specified detail message.MongoConfigurationException
(String message, Throwable cause) Constructs a new MongoConfigurationException with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MongoConfigurationException
Constructs a new MongoConfigurationException with the specified detail message.- Parameters:
message
- the detail message- Since:
- 0.0.1
-
MongoConfigurationException
Constructs a new MongoConfigurationException with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the cause of the exception- Since:
- 0.0.1
-