Class 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 Detail

      • EXCEPTIONS_OF_INTEREST

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

      • AlfrescoCmisExceptionInterceptor

        public AlfrescoCmisExceptionInterceptor()
    • Method Detail

      • invoke

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