Throwable cause = e.getCause();
if (cause instanceof WebApplicationException)
{
throw (WebApplicationException) cause;
}
throw new ApplicationException("Failed to construct " + constructor.toString(), e.getCause());
}
catch (IllegalArgumentException e)
{
String msg = "Bad arguments passed to " + constructor.toString() + " (";
boolean first = false;