1 /*******************************************************************************
2 * Copyright (c) 2016 Google Inc and others.
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
9 * SPDX-License-Identifier: EPL-2.0
12 * Stefan Xenos (Google) - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.swt.internal;
16 import java.util.function.*;
18 public class DefaultExceptionHandler {
20 public static final Consumer<RuntimeException> RUNTIME_EXCEPTION_HANDLER = exception -> {
24 public static final Consumer<Error> RUNTIME_ERROR_HANDLER = error -> {