Hey Guys,

I have a suggested change to the JavaActionFactory if possible. I have
been pulling my hair out trying to work out why Webwork cannot load my
class only to find it WAS being found, just not instantiated due to an
error.

The JavaActionFactory currently only catches a generic Exception while
trying to load the Action class. So if there is (for example) an exception
being thrown in the Action's constructor all that is reported is the
Action not being found.

I have simply added to the thrown IllegalArgumentException so people don't
sit there all day wondering why their class can't be found (see attached
java file line 62).

It would be appreciated if someone will accept this tiny alteration.

Thanks a lot,
Jordan



Attachment: JavaActionFactory.java
Description: Binary data

Reply via email to