Class BytecodeEncodingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.oracle.truffle.api.bytecode.BytecodeEncodingException
- All Implemented Interfaces:
Serializable
Class representing an exception thrown by a
BytecodeBuilder
when the program cannot be
encoded, for example, when the bytecode exceeds the maximum addressable bytecode size.- Since:
- 24.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic BytecodeEncodingException
Creates a bytecode encoding exception with a reason string.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
create
Creates a bytecode encoding exception with a reason string.- Since:
- 24.2
-