/*
 * Copyright 2006-2019 DLR, Germany
 * 
 * SPDX-License-Identifier: EPL-1.0
 * 
 * http://www.rcenvironment.de/
 */

package de.rcenvironment.toolkit.modules.concurrency.api;

/**
 * A callback interface for exceptions in asynchronous tasks.
 * 
 * @author Robert Mischke
 */
public interface AsyncExceptionListener {

    /**
     * Reports an exception that occured in an asynchronous task.
     * 
     * @param e the exception
     */
    void onAsyncException(Exception e);

}
