Package org.axonframework.common.annotation

Examples of org.axonframework.common.annotation.MessageHandlerInvocationException


            return;
        }
        try {
            handlerMethod.invoke(target, message);
        } catch (IllegalAccessException e) {
            throw new MessageHandlerInvocationException("Access to the message handler method was denied.", e);
        } catch (InvocationTargetException e) {
            if (e.getCause() instanceof RuntimeException) {
                throw (RuntimeException) e.getCause();
            }
            throw new MessageHandlerInvocationException("An exception occurred while invoking the handler method.", e);
        }
    }
View Full Code Here

TOP

Related Classes of org.axonframework.common.annotation.MessageHandlerInvocationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.