Class BehaviorSecurityException
Namespace: Cephalon.Abstractions.Behaviors
Assembly: Cephalon.Abstractions.dll
Thrown when a behavior’s resolved topology violates an allowlist constraint
declared via
public sealed class BehaviorSecurityException : Exception, ISerializableInheritance
Section titled “Inheritance”object ← Exception ← BehaviorSecurityException
Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”Exception.GetBaseException(), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”BehaviorSecurityException(string, string)
Section titled “ BehaviorSecurityException(string, string)”Initializes the exception with the behavior identifier and a descriptive message.
public BehaviorSecurityException(string behaviorId, string message)Parameters
Section titled “Parameters”behaviorId string
The behavior identifier that triggered the violation.
message string
A human-readable description of the security violation.
BehaviorSecurityException(string, string, Exception)
Section titled “ BehaviorSecurityException(string, string, Exception)”Initializes the exception with the behavior identifier, a descriptive message, and an inner exception.
public BehaviorSecurityException(string behaviorId, string message, Exception innerException)Parameters
Section titled “Parameters”behaviorId string
The behavior identifier that triggered the violation.
message string
A human-readable description of the security violation.
innerException Exception
The exception that caused this exception.
Properties
Section titled “Properties”BehaviorId
Section titled “ BehaviorId”Gets the behavior identifier that triggered the security violation.
public string BehaviorId { get; }