Class ModuleTypeLoadingException
Exception thrown by IModuleManager implementations whenever a module fails to retrieve.
Implements
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[Serializable]
public class ModuleTypeLoadingException : ModularityException, ISerializable
Constructors
View SourceModuleTypeLoadingException()
Initializes a new instance.
Declaration
public ModuleTypeLoadingException()
ModuleTypeLoadingException(SerializationInfo, StreamingContext)
Initializes a new instance with serialized data.
Declaration
protected ModuleTypeLoadingException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
ModuleTypeLoadingException(String)
Initializes a new instance with a specified error message.
Declaration
public ModuleTypeLoadingException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
ModuleTypeLoadingException(String, Exception)
Initializes a new instance with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public ModuleTypeLoadingException(string message, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | exception | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
ModuleTypeLoadingException(String, String)
Initializes the exception with a particular module and error message.
Declaration
public ModuleTypeLoadingException(string moduleName, string message)
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. |
ModuleTypeLoadingException(String, String, Exception)
Initializes the exception with a particular module, error message and inner exception that happened.
Declaration
public ModuleTypeLoadingException(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. |