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

public class SlowPathException extends 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.
Since:
0.8 or earlier
See Also:
  • Constructor Details

    • SlowPathException

      public SlowPathException()
      Creates an exception thrown to enter a slow path.
      Since:
      0.8 or earlier
    • SlowPathException

      public SlowPathException(String message, Throwable cause)
      Creates an exception thrown to enter a slow path.
      Since:
      0.8 or earlier
    • SlowPathException

      public SlowPathException(String message)
      Creates an exception thrown to enter a slow path.
      Since:
      0.8 or earlier
    • SlowPathException

      public SlowPathException(Throwable cause)
      Creates an exception thrown to enter a slow path.
      Since:
      0.8 or earlier
  • Method Details

    • fillInStackTrace

      @Deprecated(since="19.0") public final Throwable 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 class Throwable
      Since:
      0.8 or earlier