Class MongoException
Represents a MongoDB exception.
- Inheritance
-
Mongo
Exception
- Implements
- Derived
- Inherited Members
Constructors
- Mongo
Exception(Serialization Info, Streaming Context) Initializes a new instance of the Mongo
Exception class.
- Mongo
Exception(string) Initializes a new instance of the Mongo
Exception class.
- Mongo
Exception(string, Exception) Initializes a new instance of the Mongo
Exception class.
Properties
- Error
Labels Gets the error labels.
Methods
- Add
Error Label(string) Adds an error label.
- Get
Object Data(Serialization Info, Streaming Context) When overridden in a derived class, sets the Serialization
Info with information about the exception.
- Has
Error Label(string) Determines whether the exception has some error label.
- Remove
Error Label(string) Removes the error label.