Class AlfrescoCmisExceptionInterceptor

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

public class AlfrescoCmisExceptionInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor
Interceptor to catch various exceptions and translate them into CMIS-related exceptions

TODO: Externalize messages

Since:
4.0
Author:
Derek Hulley
  • Field Details

    • EXCEPTIONS_OF_INTEREST

      public static final Class[] EXCEPTIONS_OF_INTEREST
      Exceptions that are specifically handled.
  • Constructor Details

    • AlfrescoCmisExceptionInterceptor

      public AlfrescoCmisExceptionInterceptor()
  • Method Details

    • invoke

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