SecurityException Class

Assembly: CodeEffects.Rule.Common.dll
Namespace: CodeEffects.Rule.Common

Summary

Represents a security-related error raised by the Rules Engine. The evaluator throws it, for example, when the AssemblyWhitelist of the EvaluationParameters is an empty collection, because no rule can be compiled with no assembly allowed. It derives from RuleException, so catching RuleException also catches it.

Syntax

public class SecurityException : CodeEffects.Rule.Common.RuleException

Constructors

  • SecurityException(string, string)

    Initializes a new instance of the SecurityException class with the specified support control number and error message.

    Parameters

    • number (System.String): The support control number of the exception. It becomes the value of the inherited ControlNumber property.
    • message (System.String): The error message.

Inheritance

Ask on Stack Overflow - Yes, it's still active
Ask in GitHub Discussions

p102

l097 --

l102

p101

×