All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.rap.rwt.application.ExceptionHandler Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (c) 2013 Rüdiger Herrmann and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Rüdiger Herrmann - initial API and implementation
 ******************************************************************************/
package org.eclipse.rap.rwt.application;


/**
 * This interface allows application code to be informed of exceptions that occur while
 * running the event loop.
 *
 * @see Application#setExceptionHandler(ExceptionHandler)
 * @since 2.1
 */
public interface ExceptionHandler {

  /**
   * Called if an exception occurred.
   *
   * @param throwable the exception that occurred, never null
   */
  void handleException( Throwable throwable );

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy