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);
}
}