Constructor SemanticDatabaseException
- Namespace
- IntentSharp.Providers
- Assembly
- IntentSharp.dll
SemanticDatabaseException(string, IEnumerable<string>?)
Creates the exception with a message and the reasons for the refusal.
public SemanticDatabaseException(string message, IEnumerable<string>? reasons = null)
Parameters
messagestringWhat was refused.
reasonsIEnumerable<string>Each reason for the refusal. Null means none.
SemanticDatabaseException(string, Exception, IEnumerable<string>?)
Creates the exception with a message, the exception that caused it and the reasons for the refusal.
public SemanticDatabaseException(string message, Exception innerException, IEnumerable<string>? reasons = null)
Parameters
messagestringWhat was refused.
innerExceptionExceptionThe exception that caused the refusal, for example the database's own error.
reasonsIEnumerable<string>Each reason for the refusal. Null means none.