Class MissingFactoryException
The exception that is thrown when no factory exists for the required source and target mime types.
Inheritance
Implements
Namespace: Sartorius.SAF.ReportGenerator
Assembly: Sartorius.SAF.ReportGenerator.dll
Syntax
[Serializable]
public class MissingFactoryException : Exception, ISerializable
Constructors
View SourceMissingFactoryException()
Initializes a new instance of the MissingFactoryException class.
Declaration
public MissingFactoryException()
MissingFactoryException(SerializationInfo, StreamingContext)
Initializes a new instance of the MissingFactoryException class.
Declaration
protected MissingFactoryException(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. |
MissingFactoryException(String)
Initializes a new instance of the MissingFactoryException class.
Declaration
public MissingFactoryException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
MissingFactoryException(String, Exception)
Initializes a new instance of the MissingFactoryException class.
Declaration
public MissingFactoryException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The exception message. |
System.Exception | innerException | The inner exception. |
MissingFactoryException(String, String)
Initializes a new instance of the MissingFactoryException.
Declaration
public MissingFactoryException(string sourceMimeType, string targetMimeType)
Parameters
Type | Name | Description |
---|---|---|
System.String | sourceMimeType | The source mime type. |
System.String | targetMimeType | The source mime type. |
Properties
View SourceSourceMimeType
The source mime type of the missing factory.
Declaration
public string SourceMimeType { get; }
Property Value
Type | Description |
---|---|
System.String |
TargetMimeType
The target mime type of the missing factory.
Declaration
public string TargetMimeType { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceGetObjectData(SerializationInfo, StreamingContext)
Declaration
[Obsolete]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |