FileDocCategorySizeDatePackage
ExceptionInterceptor.javaAPI DocExample577Mon Apr 25 07:58:20 BST 2005com.springbook.interceptors

ExceptionInterceptor

public class ExceptionInterceptor extends Object implements org.springframework.aop.ThrowsAdvice

Fields Summary
Constructors Summary
Methods Summary
public voidafterThrowing(java.lang.reflect.Method m, java.lang.Object[] args, java.lang.Object target, java.lang.Exception ex)

        System.out.println("Call to method " + m.getName() +
              " on class " + target.getClass().getName() +
              " resulted in exception of type " + ex.getClass().getName());
        System.out.println("Exception message: " + ex.getMessage());