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.Object → System.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
| 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 |