Package org.alfresco.rest.api.impl
Class ExceptionInterceptor
java.lang.Object
org.alfresco.rest.api.impl.ExceptionInterceptor
- All Implemented Interfaces:
org.aopalliance.aop.Advice
,org.aopalliance.intercept.Interceptor
,org.aopalliance.intercept.MethodInterceptor
public class ExceptionInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor
An interceptor that catches exceptions and handlers them in some way, possibly by re-throwing as a different exception.
- Author:
- steveglover
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninvoke
(org.aopalliance.intercept.MethodInvocation mi) void
setExceptionHandlers
(List<ExceptionHandler> exceptionHandlers)
-
Constructor Details
-
ExceptionInterceptor
public ExceptionInterceptor()
-
-
Method Details
-
setExceptionHandlers
-
invoke
- Specified by:
invoke
in interfaceorg.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
-