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:
java.io.Serializable
- Direct Known Subclasses:
FinalLocationException
,FrameSlotTypeException
,IncompatibleLocationException
,InvalidAssumptionException
,UnexpectedResultException
public class SlowPathException extends java.lang.Exception
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlowPathException()
Creates an exception thrown to enter a slow path.SlowPathException(java.lang.String message)
Creates an exception thrown to enter a slow path.SlowPathException(java.lang.String message, java.lang.Throwable cause)
Creates an exception thrown to enter a slow path.SlowPathException(java.lang.Throwable cause)
Creates an exception thrown to enter a slow path.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
fillInStackTrace()
For performance reasons, this exception does not record any stack trace information.
-
-
-
Constructor Detail
-
SlowPathException
public SlowPathException()
Creates an exception thrown to enter a slow path.
-
SlowPathException
public SlowPathException(java.lang.String message, java.lang.Throwable cause)
Creates an exception thrown to enter a slow path.
-
SlowPathException
public SlowPathException(java.lang.String message)
Creates an exception thrown to enter a slow path.
-
SlowPathException
public SlowPathException(java.lang.Throwable cause)
Creates an exception thrown to enter a slow path.
-
-