Class PartitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.flink.runtime.io.network.partition.PartitionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PartitionConnectionException,PartitionNotFoundException
Exception for covering all the scenarios of consuming partition failure which causes the consumer
task failed, and the job master would decide whether to restart the producer based on this
exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPartitionException(String message, ResultPartitionID partitionId) PartitionException(String message, ResultPartitionID partitionId, Throwable throwable) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PartitionException
-
PartitionException
-
-
Method Details
-
getPartitionId
-