BonsaiException

Base class for runtime-domain exceptions thrown by the StoryBonsai runtime. Catch BonsaiException to handle any runtime-internal failure (scene stack overflow, replay corruption, etc.) without catching unrelated framework exceptions.

public class BonsaiException : Exception

Inheritance System.ObjectSystem.Exception → BonsaiException

Derived
SceneStackException

Constructors

BonsaiException(string)

Constructs a BonsaiException with a message.

public BonsaiException(string message);
Parameters

message System.String

Human-readable description of the runtime failure.

BonsaiException(string, Exception)

Constructs a BonsaiException wrapping an inner cause.

public BonsaiException(string message, Exception innerException);
Parameters

message System.String

Human-readable description of the runtime failure.

innerException System.Exception

The underlying exception that triggered this failure.

Inherited Methods

MemberSource
GetBaseException()inherited from Exception
GetObjectData(Runtime.Serialization.SerializationInfo, Runtime.Serialization.StreamingContext)inherited from Exception
GetType()inherited from Exception
ToString()inherited from Exception

Inherited Properties

MemberSource
Datainherited from Exception
HelpLinkinherited from Exception
HResultinherited from Exception
InnerExceptioninherited from Exception
Messageinherited from Exception
Sourceinherited from Exception
StackTraceinherited from Exception
TargetSiteinherited from Exception

Inherited Events

MemberSource
SerializeObjectStateinherited from Exception
Docs last synced: 2026-07-18
Screenshot viewer