List of usage examples for org.springframework.aop.interceptor AsyncUncaughtExceptionHandler interface-usage
From source file com.orange.clara.cloud.servicedbdumper.exception.CustomAsyncExceptionHandler.java
/**
* Copyright (C) 2016 Orange
* <p/>
* This software is distributed under the terms and conditions of the 'Apache-2.0'
* license which can be found in the file 'LICENSE' in this package distribution
* or at 'https://opensource.org/licenses/Apache-2.0'.
From source file com.ling.spring.task.MyAsyncUncaughtExceptionHandler.java
public class MyAsyncUncaughtExceptionHandler implements AsyncUncaughtExceptionHandler { @Override public void handleUncaughtException(Throwable arg0, Method arg1, Object... arg2) { System.out.println(arg1.getName() + ":" + arg0.getMessage()); }
From source file org.springframework.aop.interceptor.SimpleAsyncUncaughtExceptionHandler.java
/**
* A default {@link AsyncUncaughtExceptionHandler} that simply logs the exception.
*
* @author Stephane Nicoll
* @since 4.1
*/