SceneStackException
Thrown when the scene activation stack would overflow (depth >
SceneStack.MaxDepth = 50) or when an internal invariant is
violated (e.g. popping an empty stack). Signals a scripting bug —
usually a runaway EnterScene chain without a matching
CompleteScene.
public class SceneStackException : BonsaiException
Inheritance System.Object → System.Exception → BonsaiException → SceneStackException
Constructors
SceneStackException(string)
Constructs a SceneStackException with a message describing the violation.
public SceneStackException(string message);
Parameters
message System.String
Human-readable description of the stack violation.
Inherited Methods
| Member | Source |
|---|---|
GetBaseException() | inherited from Exception |
GetObjectData(Runtime.Serialization.SerializationInfo, Runtime.Serialization.StreamingContext) | inherited from Exception |
GetType() | inherited from Exception |
ToString() | inherited from Exception |
Inherited Properties
| Member | Source |
|---|---|
Data | inherited from Exception |
HelpLink | inherited from Exception |
HResult | inherited from Exception |
InnerException | inherited from Exception |
Message | inherited from Exception |
Source | inherited from Exception |
StackTrace | inherited from Exception |
TargetSite | inherited from Exception |
Inherited Events
| Member | Source |
|---|---|
SerializeObjectState | inherited from Exception |