public class ProducerFailedException extends CancelTaskException
|Constructor and Description|
The cause of the producer failure.
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ProducerFailedException(Throwable cause)
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.
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.