Class 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

    Since:
    4.0
    Author:
    Derek Hulley
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.Class[] EXCEPTIONS_OF_INTEREST
      Exceptions that are specifically handled.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Field Detail

      • EXCEPTIONS_OF_INTEREST

        public static final java.lang.Class[] EXCEPTIONS_OF_INTEREST
        Exceptions that are specifically handled.
    • 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