org.apache.hadoop.hbase.errorhandling
Interface ForeignExceptionListener

All Known Implementing Classes:
ForeignExceptionDispatcher, Procedure

@InterfaceAudience.Private
@InterfaceStability.Evolving
public interface ForeignExceptionListener

The ForeignExceptionListener is an interface for objects that can receive a ForeignException.

Implementations must be thread-safe, because this is expected to be used to propagate exceptions from foreign threads.


Method Summary
 void receive(ForeignException e)
          Receive a ForeignException.
 

Method Detail

receive

void receive(ForeignException e)
Receive a ForeignException.

Implementers must ensure that this method is thread-safe.

Parameters:
e - exception causing the error. Implementations must accept and handle null here.


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.