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
[Serializable]
public class CyclicDependencyFoundException : ModularityException, ISerializable
Constructors
View SourceCyclicDependencyFoundException()
Initializes a new instance of the CyclicDependencyFoundException class.
Declaration
public CyclicDependencyFoundException()
CyclicDependencyFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the CyclicDependencyFoundException class with the serialization data.
Declaration
protected CyclicDependencyFoundException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | Holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | Contains contextual information about the source or destination. |
CyclicDependencyFoundException(String)
Initializes a new instance of the CyclicDependencyFoundException class with the specified error message.
Declaration
public CyclicDependencyFoundException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.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 |
---|---|---|
System.String | moduleName | The name of the module. |
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |