Throw
Raises a non-null Throwable-compatible object. Custom classes may extend Exception; resource-limit failures are not catchable.
Where to find it
Section titled “Where to find it”Control → Choose Operation → Flow. Requires Dev access to configure, then a successful compile to activate.
Inputs
Section titled “Inputs”| Input | Type | Role | Requirement | Default / constraint |
|---|---|---|---|---|
| Exception | Compatible declared type | Value | Required | Required |
Result and behavior
Section titled “Result and behavior”Controls the current structure/task or changes the world/event as described. No separate value result is returned.
Configuration example
Section titled “Configuration example”Block: ControlOperation: ThrowException: Number 1 (match the destination/element type)Use this as an editor configuration: declare any Variables/collections first and choose real locations/eligible targets for your plot. It is not pasteable source code.
Restrictions and troubleshooting
Section titled “Restrictions and troubleshooting”Required inputs must be assigned and type-compatible. Operation work remains subject to the plot’s runtime limits.
Related guides
Section titled “Related guides”Editor · Arguments · Targets · Expressions · Native behavior
Reference identifier: control.throw.