Class ModuleInitializeException
Exception thrown by IModuleInitializer implementations whenever a module fails to load.
Implements
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class ModuleInitializeException : ModularityException, ISerializable
Constructors
View SourceModuleInitializeException()
Initializes a new instance.
Declaration
public ModuleInitializeException()
ModuleInitializeException(string)
Initializes a new instance of the ModuleInitializeException class.
Declaration
public ModuleInitializeException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
ModuleInitializeException(string, Exception)
Initializes a new instance of the ModuleInitializeException class.
Declaration
public ModuleInitializeException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The exception message. |
| Exception | innerException | The inner exception. |
ModuleInitializeException(string, string, Exception)
Initializes the exception with a particular module, error message and inner exception that happened.
Declaration
public ModuleInitializeException(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. |
ModuleInitializeException(string, string, string)
Initializes the exception with a particular module and error message.
Declaration
public ModuleInitializeException(string moduleName, string moduleAssembly, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | moduleName | The name of the module. |
| string | moduleAssembly | The assembly where the module is located. |
| string | message | The error message that explains the reason for the exception. |
ModuleInitializeException(string, string, string, Exception)
Initializes the exception with a particular module, error message and inner exception that happened.
Declaration
public ModuleInitializeException(string moduleName, string moduleAssembly, string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | moduleName | The name of the module. |
| string | moduleAssembly | The assembly where the module is located. |
| 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. |