Skip to content

Class BehaviorSecurityException

Namespace: Cephalon.Abstractions.Behaviors
Assembly: Cephalon.Abstractions.dll

Thrown when a behavior’s resolved topology violates an allowlist constraint declared via or .

public sealed class BehaviorSecurityException : Exception, ISerializable

objectExceptionBehaviorSecurityException

ISerializable

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()

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)

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)

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.

Gets the behavior identifier that triggered the security violation.

public string BehaviorId { get; }

string