Package org.cloudburstmc.mojava.compiler
Class BytecodeCompiler.ContentError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.cloudburstmc.mojava.compiler.BytecodeCompiler.ContentError
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BytecodeCompiler
Thrown at compile time for an expression that violates Molang's type rules in a way detectable
from the source alone — currently, a string literal used anywhere except
==/!=.
Mirrors the engine's "content error" for cases like 'text' + 1.- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString