{
return m.invoke(o,args);
}
catch(IllegalAccessException e)
{
throw new XMLDispatcherRuntimeException(e);
}
catch(IllegalArgumentException e)
{
throw new XMLDispatcherRuntimeException(e);
}
catch(java.lang.reflect.InvocationTargetException ite)
{
if (ite.getTargetException() instanceof XMLDispatcherUserException)
{
throw (XMLDispatcherUserException)ite.getTargetException();
}
else if (ite.getTargetException() instanceof XMLDispatcherAppException)
{
throw (XMLDispatcherAppException)ite.getTargetException();
}
else
{
throw new XMLDispatcherRuntimeException(ite.getTargetException());
}
}
}