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
[Serializable]
public class DuplicateModuleException : ModularityException, ISerializable
Constructors
View SourceDuplicateModuleException()
Initializes a new instance of the DuplicateModuleException class.
Declaration
public DuplicateModuleException()
DuplicateModuleException(SerializationInfo, StreamingContext)
Initializes a new instance of the DuplicateModuleException class with the serialization data.
Declaration
protected DuplicateModuleException(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. |
DuplicateModuleException(String)
Initializes a new instance of the DuplicateModuleException class.
Declaration
public DuplicateModuleException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
---|---|---|
System.String | message | The exception message. |
System.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 |
---|---|---|
System.String | moduleName | The name of the module. |
System.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 |
---|---|---|
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 (Nothing in Visual Basic) if no inner exception is specified. |