]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/internal/DefaultExceptionHandler.java
Remove invalid SHA-256-Digests
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / internal / DefaultExceptionHandler.java
1 /*******************************************************************************
2  * Copyright (c) 2016 Google Inc and others.
3  *
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/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     Stefan Xenos (Google) - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.swt.internal;
15
16 import java.util.function.*;
17
18 public class DefaultExceptionHandler {
19
20 public static final Consumer<RuntimeException> RUNTIME_EXCEPTION_HANDLER = exception -> {
21         throw exception;
22 };
23
24 public static final Consumer<Error> RUNTIME_ERROR_HANDLER = error -> {
25         throw error;
26 };
27
28 }