org.alfresco.opencmis
Class AlfrescoCmisExceptionInterceptor

java.lang.Object
  extended by org.alfresco.opencmis.AlfrescoCmisExceptionInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class AlfrescoCmisExceptionInterceptor
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor

Interceptor to catch various exceptions and translate them into CMIS-related exceptions

TODO: Externalize messages TODO: Use ExceptionStackUtil to dig out exceptions of interest regardless of depth

Since:
4.0

Constructor Summary
AlfrescoCmisExceptionInterceptor()
           
 
Method Summary
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation mi)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlfrescoCmisExceptionInterceptor

public AlfrescoCmisExceptionInterceptor()
Method Detail

invoke

public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation mi)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
java.lang.Throwable


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.