Class ProducerFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.flink.runtime.execution.CancelTaskException
-
- org.apache.flink.runtime.io.network.partition.ProducerFailedException
-
- All Implemented Interfaces:
Serializable
public class ProducerFailedException extends CancelTaskException
Network-stack level Exception to notify remote receiver about a failed partition producer.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProducerFailedException(Throwable cause)
The cause of the producer failure.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProducerFailedException
public ProducerFailedException(Throwable cause)
The cause of the producer failure.The cause will be stored as a
SerializedThrowable
, because it might be an instance of a user level Exception, which may not be possible to deserialize by the remote receiver's system class loader.
-
-