Top Description Fields Constructors Methods
org.springframework.aop.interceptor

public Class SimpleAsyncUncaughtExceptionHandler

extends Object
implements AsyncUncaughtExceptionHandler
Class Inheritance
All Implemented Interfaces
org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler
Imports
java.lang.reflect.Method, org.apache.commons.logging.Log, .LogFactory

A default AsyncUncaughtExceptionHandler that simply logs the exception.
Authors
Stephane Nicoll, Juergen Hoeller
Since
4.1

Field Summary

Modifier and TypeField and Description
private static final Log

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
handleUncaughtException(Throwable
the exception thrown from the asynchronous method
ex
,
Method
the asynchronous method
method
,
Object...
the parameters used to invoke the method
params
)

Implements org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler.handleUncaughtException.

Handle the given uncaught exception thrown from an asynchronous method.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loggerback to summary
private static final Log logger

Constructor Detail

SimpleAsyncUncaughtExceptionHandlerback to summary
public SimpleAsyncUncaughtExceptionHandler()

Method Detail

handleUncaughtExceptionback to summary
public void handleUncaughtException(Throwable ex, Method method, Object... params)

Implements org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler.handleUncaughtException.

Doc from org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler.handleUncaughtException.

Handle the given uncaught exception thrown from an asynchronous method.

Parameters
ex:Throwable

the exception thrown from the asynchronous method

method:Method

the asynchronous method

params:Object[]

the parameters used to invoke the method

Annotations
@Override