Class CancelTaskException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.flink.runtime.execution.CancelTaskException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProducerFailedException
public class CancelTaskException extends RuntimeException
Thrown to trigger a canceling of the executing task. Intended to cause a cancelled status, rather than a failed status.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CancelTaskException()
CancelTaskException(String msg)
CancelTaskException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-