The creation of
a new instance catches the following exceptions
catch
(ClassNotFoundException e)
{
throw new WicketRuntimeException("Unable to create application of class "
+ applicationClassName, e);
}
catch (InstantiationException e)
{
throw new WicketRuntimeException("Unable to create application of class "
+ applicationClassName, e);
}
catch (IllegalAccessException e)
{
throw new WicketRuntimeException("Unable to create application of class "
+ applicationClassName, e);
}
catch (SecurityException e)
{
throw new WicketRuntimeException("Unable to create application of class "
+ applicationClassName, e);
}
{
throw new WicketRuntimeException("Unable to create application of class "
+ applicationClassName, e);
}
catch (InstantiationException e)
{
throw new WicketRuntimeException("Unable to create application of class "
+ applicationClassName, e);
}
catch (IllegalAccessException e)
{
throw new WicketRuntimeException("Unable to create application of class "
+ applicationClassName, e);
}
catch (SecurityException e)
{
throw new WicketRuntimeException("Unable to create application of class "
+ applicationClassName, e);
}
Wouldn't it be nice to see the original reason on
the console? I had the problem that a newly created WebApplication did not
deploy with the message "Unable to create application of class ..." and I
wondered why. What was the reason for it? it would have helped if I had seen
something like "Unable to create application of class ...:
ClassNotFound".
So my suggest is to append the original exception
name to the message.
Stefan
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop