Class ConnectionException
- Namespace
- NLightning.Domain.Exceptions
- Assembly
- NLightning.Domain.dll
Represents an exception that is thrown when a connection error occurs.
[ExcludeFromCodeCoverage]
public class ConnectionException : ErrorException, ISerializable
- Inheritance
-
ConnectionException
- Implements
- Derived
- Inherited Members
Remarks
We usually want to close the connection when this exception is thrown.
Constructors
ConnectionException(string)
public ConnectionException(string message)
Parameters
messagestring
ConnectionException(string, Exception)
public ConnectionException(string message, Exception innerException)