Package dev.frostlake.executor
Class UndeclaredScriptVariableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.frostlake.executor.InvalidQualifierException
dev.frostlake.executor.UndeclaredScriptVariableException
- All Implemented Interfaces:
Serializable
A
:name inside a scripting block naming no declared variable — the same "invalid identifier"
refusal as any other unresolvable name, and deliberately worded identically.
It is typed apart for one reason: live resolves a block's own names when the BLOCK is compiled, before any of it runs, so this refusal escapes bare — without the "Uncaught exception of type 'STATEMENT_ERROR'" sentence that wraps a statement which ran and failed. Every other unresolvable name (a column, a qualifier) belongs to the STATEMENT's compilation and is wrapped. Frostlake discovers this one while the statement runs rather than while the block compiles, so the type is what tells the block handler which side of that line it falls on.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UndeclaredScriptVariableException
-
UndeclaredScriptVariableException
-