Class FeatureAlreadyExistsException
The exception that is thrown when the requested feature id already exists in the license.
Implements
Namespace: Sartorius.SAF.Licensing
Assembly: Sartorius.SAF.Licensing.dll
Syntax
[Serializable]
public class FeatureAlreadyExistsException : LicenseException, ISerializable
Constructors
View SourceFeatureAlreadyExistsException()
Create a new instance of FeatureAlreadyExistsException class.
Declaration
public FeatureAlreadyExistsException()
FeatureAlreadyExistsException(SerializationInfo, StreamingContext)
Initializes a new instance of the FeatureNotFoundException class with serialized data.
Declaration
protected FeatureAlreadyExistsException(SerializationInfo si, StreamingContext ctx)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | si | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | ctx | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
FeatureAlreadyExistsException(String)
Initializes a new instance of the LicenseException class with a specified error message.
Declaration
public FeatureAlreadyExistsException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
FeatureAlreadyExistsException(String, Exception)
Initializes a new instance of the FeatureNotFoundException class with a specified error message.
Declaration
public FeatureAlreadyExistsException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The inner exception. |