@InterfaceAudience.Private
@InterfaceStability.Evolving
public interface ForeignExceptionListener
Implementations must be thread-safe, because this is expected to be used to propagate exceptions from foreign threads.
| 限定符和类型 | 方法和说明 |
|---|---|
void |
receive(ForeignException e)
Receive a ForeignException.
|
void receive(ForeignException e)
Implementers must ensure that this method is thread-safe.
e - exception causing the error. Implementations must accept and handle null here.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.