Package com.oracle.truffle.api.dsl
Class UnsupportedSpecializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.oracle.truffle.api.dsl.UnsupportedSpecializationException
- All Implemented Interfaces:
Serializable
Thrown by the generated code of Truffle-DSL if no compatible Specialization could be found for
the provided values.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedSpecializationException
(Node node, Node[] suppliedNodes, Object... suppliedValues) -
Method Summary
Modifier and TypeMethodDescriptiongetNode()
Returns theNode
that caused the thisUnsupportedSpecializationException
.Node[]
Returns the children of theNode
returned bygetNode()
which produced the values returned bygetSuppliedValues()
.Object[]
Returns the dynamic values that were supplied to the node.The array returned bygetSuppliedNodes()
has the same length as the array returned bygetSuppliedValues()
.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedSpecializationException
-
-
Method Details
-
getNode
Returns theNode
that caused the thisUnsupportedSpecializationException
. -
getSuppliedNodes
Returns the children of theNode
returned bygetNode()
which produced the values returned bygetSuppliedValues()
. The array returned bygetSuppliedNodes()
has the same length as the array returned bygetSuppliedValues()
. Never returns null. -
getSuppliedValues
Returns the dynamic values that were supplied to the node.The array returned bygetSuppliedNodes()
has the same length as the array returned bygetSuppliedValues()
. Never returns null.
-