Show / Hide Table of Contents

Class ModularityException

Base class for exceptions that are thrown because of a problem with modules.

Inheritance
System.Object
System.Exception
ModularityException
CyclicDependencyFoundException
DuplicateModuleException
ModuleInitializeException
ModuleNotFoundException
ModuleTypeLoaderNotFoundException
ModuleTypeLoadingException
Implements
System.Runtime.Serialization.ISerializable
System.Exception.GetBaseException()
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Sartorius.SAF.Presentation.Modularity
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[Serializable]
public class ModularityException : Exception, ISerializable

Constructors

View Source

ModularityException()

Initializes a new instance of the ModularityException class.

Declaration
public ModularityException()
View Source

ModularityException(SerializationInfo, StreamingContext)

Initializes a new instance with serialized data.

Declaration
protected ModularityException(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.

View Source

ModularityException(String)

Initializes a new instance of the ModularityException class.

Declaration
public ModularityException(string message)
Parameters
Type Name Description
System.String message

The exception message.

View Source

ModularityException(String, Exception)

Initializes a new instance of the ModularityException class.

Declaration
public ModularityException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

The exception message.

System.Exception innerException

The inner exception.

View Source

ModularityException(String, String)

Initializes the exception with a particular module and error message.

Declaration
public ModularityException(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.

View Source

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
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.

Properties

View Source

ModuleName

Gets or sets the name of the module that this exception refers to.

Declaration
public string ModuleName { get; set; }
Property Value
Type Description
System.String

The name of the module.

Methods

View Source

GetObjectData(SerializationInfo, StreamingContext)

Sets the System.Runtime.Serialization.SerializationInfo with information about the exception.

Declaration
[SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public override void GetObjectData(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.

Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
ExceptionExtensions.GetRootException(Exception)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX