returnValue = method.invoke(serviceBean, mappedParams);
}
catch (InvocationTargetException e) {
Throwable targetException = e.getTargetException();
if ((securityChecker.isAuthenticationFailed(targetException)) || (securityChecker.isAccessDenied(targetException))) {
flex.messaging.security.SecurityException se = new SecurityException(new PropertyStringResourceLoader("flex.messaging.vendors"));
se.setMessage(targetException.getMessage());
throw se;
}
else {
for (int i = 0; i < method.getExceptionTypes().length; i++) {
Class exceptionType = method.getExceptionTypes()[i];