Class ModularityException
Base class for exceptions that are thrown because of a problem with modules.
Inheritance
Implements
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class ModularityException : Exception, ISerializable
Constructors
View SourceModularityException()
Initializes a new instance of the ModularityException class.
Declaration
public ModularityException()
ModularityException(string)
Initializes a new instance of the ModularityException class.
Declaration
public ModularityException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
ModularityException(string, Exception)
Initializes a new instance of the ModularityException class.
Declaration
public ModularityException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
| Exception | innerException | The inner exception. |
ModularityException(string, string)
Initializes the exception with a particular module and error message.
Declaration
public ModularityException(string moduleName, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | moduleName | The name of the module. |
| string | message | The error message that explains the reason for the exception. |
ModularityException(string, string, Exception)
Initializes the exception with a particular module, error message and inner exception that happened.
Declaration
public ModularityException(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. |
Properties
View SourceModuleName
Gets or sets the name of the module that this exception refers to.
Declaration
public string ModuleName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the module. |