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:
java.io.Serializable
public final class UnsupportedSpecializationException extends java.lang.RuntimeException
Thrown by the generated code of Truffle-DSL if no compatible Specialization could be found for the provided values.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedSpecializationException(Node node, Node[] suppliedNodes, java.lang.Object... suppliedValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
getNode()
Returns theNode
that caused the thisUnsupportedSpecializationException
.Node[]
getSuppliedNodes()
Returns the children of theNode
returned bygetNode()
which produced the values returned bygetSuppliedValues()
.java.lang.Object[]
getSuppliedValues()
Returns the dynamic values that were supplied to the node.The array returned bygetSuppliedNodes()
has the same length as the array returned bygetSuppliedValues()
.
-
-
-
Method Detail
-
getNode
public Node getNode()
Returns theNode
that caused the thisUnsupportedSpecializationException
.
-
getSuppliedNodes
public Node[] 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
public java.lang.Object[] 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.
-
-