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, 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.
- Since:
- 0.8 or earlier
- 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 TypeMethodDescriptionfinal Throwable
Deprecated.the method will become final in future releases.Methods inherited from class 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.- Since:
- 0.8 or earlier
-
SlowPathException
-
SlowPathException
Creates an exception thrown to enter a slow path.- Since:
- 0.8 or earlier
-
SlowPathException
Creates an exception thrown to enter a slow path.- Since:
- 0.8 or earlier
-
-
Method Details
-
fillInStackTrace
Deprecated.the method will become final in future releases.For performance reasons, this exception does not record any stack trace information.- Overrides:
fillInStackTrace
in classThrowable
- Since:
- 0.8 or earlier
-