List of usage examples for org.springframework.aop ThrowsAdvice interface-usage
From source file throwsaop.SimpleThrowsAdvice.java
/** @author igorm */ public class SimpleThrowsAdvice implements ThrowsAdvice { public static void main(String[] args) { ErrorBean bean = new ErrorBean(); ProxyFactory f = new ProxyFactory(); f.setTarget(bean);
From source file de.femodeling.e4.server.internal.exception.ServiceExceptionAdvice.java
/**
* An Advice that catches all {@link Throwable}s execpt the
* {@link SessionExpiredException} and converts the to a
* {@link ServiceException} instance.
*
* @author Paul-Edouard Munch
From source file com.chnoumis.commons.log.LogInterceptor.java
public class LogInterceptor implements MethodBeforeAdvice, AfterReturningAdvice, ThrowsAdvice { private static Log log = null; public LogInterceptor() { }
From source file net.kamhon.ieagle.aop.DwrDelegateAdvice.java
/**
* <p>
* This clase used for following purpose :
* </p>
*
* <ol>
From source file net.kamhon.ieagle.aop.LoggerThrowsAdvice.java
/**
* <p>
* This method interceptor will be implemented at <b>manager</b> layer and log the Exception which is throw unexpected
* error like Db Error, NullPointerException and so on.
* </p>
* <p>
From source file org.sculptor.framework.errorhandling.BasicErrorHandlingAdvice.java
/**
* This advice logs exceptions. RuntimeExceptions are caught and new
* SystemException (subclasses) are thrown.
* {@link org.sculptor.framework.errorhandling.SystemException}
* and RuntimeException are logged at error or fatal level.
* {@link org.sculptor.framework.errorhandling.ApplicationException}
From source file org.gaixie.micrite.security.filter.AccessDeniedInterceptor.java
/** * ??AOP <code>AccessDeniedException</code> ??? * */ public class AccessDeniedInterceptor implements ThrowsAdvice {
From source file org.fornax.cartridges.sculptor.framework.errorhandling.BasicErrorHandlingAdvice.java
/**
* This advice logs exceptions. RuntimeExceptions are caught and new
* SystemException (subclasses) are thrown.
* {@link org.fornax.cartridges.sculptor.framework.errorhandling.SystemException}
* and RuntimeException are logged at error or fatal level.
* {@link org.fornax.cartridges.sculptor.framework.errorhandling.ApplicationException}
From source file org.sculptor.framework.errorhandling.HibernateValidatorErrorHandlingAdvice.java
/**
* This advice handles Hibernate Validator specific exceptions.
* RuntimeExceptions are caught and new SystemException (subclasses) are thrown.
*
*/
@Deprecated
From source file org.fornax.cartridges.sculptor.framework.errorhandling.HibernateValidatorErrorHandlingAdvice.java
/**
* This advice handles Hibernate Validator specific exceptions.
* RuntimeExceptions are caught and new SystemException (subclasses) are thrown.
*
*/
@Deprecated