Class TaskKilledException

Object
Throwable
Exception
RuntimeException
org.apache.spark.TaskKilledException
All Implemented Interfaces:
Serializable

public class TaskKilledException extends RuntimeException
:: DeveloperApi :: Exception thrown when a task is explicitly killed (i.e., task failure is expected).
See Also:
  • Constructor Details

    • TaskKilledException

      public TaskKilledException(String reason)
    • TaskKilledException

      public TaskKilledException()
  • Method Details

    • reason

      public String reason()