diff options
Diffstat (limited to 'common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/MultiThreadedExceptionHandlerAdapter.java')
-rw-r--r-- | common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/MultiThreadedExceptionHandlerAdapter.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/MultiThreadedExceptionHandlerAdapter.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/MultiThreadedExceptionHandlerAdapter.java new file mode 100644 index 0000000000..ef6946eb54 --- /dev/null +++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/MultiThreadedExceptionHandlerAdapter.java @@ -0,0 +1,24 @@ +/******************************************************************************* + * Copyright (c) 2012 Oracle. 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: + * Oracle - initial API and implementation + ******************************************************************************/ +package org.eclipse.jpt.common.utility.internal; + +import org.eclipse.jpt.common.utility.MultiThreadedExceptionHandler; + +/** + * Convenience exception handler that does nothing. + */ +public class MultiThreadedExceptionHandlerAdapter + extends ExceptionHandlerAdapter + implements MultiThreadedExceptionHandler +{ + public void handleException(Thread thread, Throwable t) { + // NOP + } +} |