Class CyclicDependencyFoundException
Represents the exception that is thrown when there is a circular dependency between modules during the module loading process.
Implements
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class CyclicDependencyFoundException : ModularityException, ISerializable
Constructors
View SourceCyclicDependencyFoundException()
Initializes a new instance of the CyclicDependencyFoundException class.
Declaration
public CyclicDependencyFoundException()
CyclicDependencyFoundException(string)
Initializes a new instance of the CyclicDependencyFoundException class with the specified error message.
Declaration
public CyclicDependencyFoundException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
CyclicDependencyFoundException(string, Exception)
Initializes a new instance of the CyclicDependencyFoundException class with the specified error message and inner exception.
Declaration
public CyclicDependencyFoundException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message that explains the reason for the exception. |
| Exception | innerException | The exception that is the cause of the current exception. |
CyclicDependencyFoundException(string, string, Exception)
Initializes the exception with a particular module, error message and inner exception that happened.
Declaration
public CyclicDependencyFoundException(string moduleName, string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | moduleName | The name of the module. |
| string | message | The error message that explains the reason for the exception. |
| Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |