Dali Provisional API
Release 3.2

org.eclipse.jpt.common.utility
Interface MultiThreadExceptionHandler

All Superinterfaces:
ExceptionHandler

public interface MultiThreadExceptionHandler
extends ExceptionHandler

Simple interface for allowing clients to pass an exception handler to a service (e.g. to log the exception). This is particularly helpful if the service executes on another, possibly inaccessible, thread.

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Method Summary
 void handleException(Thread thread, Throwable t)
          The specified exception was thrown while the specified thread was executing.
 
Methods inherited from interface org.eclipse.jpt.common.utility.ExceptionHandler
handleException
 

Method Detail

handleException

void handleException(Thread thread,
                     Throwable t)
The specified exception was thrown while the specified thread was executing. Handle it appropriately.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.