Class DuplicateModuleException
Exception thrown when a module is declared twice in the same catalog.
Implements
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class DuplicateModuleException : ModularityException, ISerializable
Constructors
View SourceDuplicateModuleException()
Initializes a new instance of the DuplicateModuleException class.
Declaration
public DuplicateModuleException()
DuplicateModuleException(string)
Initializes a new instance of the DuplicateModuleException class.
Declaration
public DuplicateModuleException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
DuplicateModuleException(string, Exception)
Initializes a new instance of the DuplicateModuleException class.
Declaration
public DuplicateModuleException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
| Exception | innerException | The inner exception. |
DuplicateModuleException(string, string)
Initializes a new instance of the DuplicateModuleException class with a specified error message.
Declaration
public DuplicateModuleException(string moduleName, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | moduleName | The name of the module. |
| string | message | The message that describes the error. |
DuplicateModuleException(string, string, Exception)
Initializes a new instance of the DuplicateModuleException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public DuplicateModuleException(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 (Nothing in Visual Basic) if no inner exception is specified. |