Show / Hide Table of Contents

Class DuplicateModuleException

Exception thrown when a module is declared twice in the same catalog.

Inheritance
System.Object
System.Exception
ModularityException
DuplicateModuleException
Implements
System.Runtime.Serialization.ISerializable
ModularityException.ModuleName
ModularityException.GetObjectData(SerializationInfo, StreamingContext)
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 DuplicateModuleException : ModularityException, ISerializable

Constructors

View Source

DuplicateModuleException()

Initializes a new instance of the DuplicateModuleException class.

Declaration
public DuplicateModuleException()
View Source

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.

View Source

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.

View Source

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.

View Source

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.

View Source

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.

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