public class ProducerFailedException extends CancelTaskException
| 构造器和说明 |
|---|
ProducerFailedException(Throwable cause)
The cause of the producer failure.
|
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–2022 The Apache Software Foundation. All rights reserved.