Package com.oracle.truffle.api.nodes
Class SlowPathException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.oracle.truffle.api.nodes.SlowPathException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FinalLocationException
,FrameSlotTypeException
,IncompatibleLocationException
,InvalidAssumptionException
,UnexpectedResultException
An exception thrown to enter a slow path. The Truffle optimizer has special knowledge of this
exception class and will never compile a catch block that catches this exception type.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an exception thrown to enter a slow path.SlowPathException
(String message) Creates an exception thrown to enter a slow path.SlowPathException
(String message, Throwable cause) Creates an exception thrown to enter a slow path.SlowPathException
(Throwable cause) Creates an exception thrown to enter a slow path. -
Method Summary
Modifier and TypeMethodDescriptionFor performance reasons, this exception does not record any stack trace information.Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SlowPathException
public SlowPathException()Creates an exception thrown to enter a slow path. -
SlowPathException
Creates an exception thrown to enter a slow path. -
SlowPathException
Creates an exception thrown to enter a slow path. -
SlowPathException
Creates an exception thrown to enter a slow path.
-
-
Method Details
-
fillInStackTrace
For performance reasons, this exception does not record any stack trace information.- Overrides:
fillInStackTrace
in classThrowable
-