Antonio Gallardo wrote:
Hi:

Please check this code it does not compile in java 1.3:

/home/agallardo/svn/cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/tools/service/UserrightsService.java:124:
cannot resolve symbol
symbol  : constructor RuntimeException  (java.io.IOException)
location: class java.lang.RuntimeException
            throw new RuntimeException(e);
                  ^

Use CascadingRuntimeException instead.


Please to portal gurus to review why we need here the "new". In my view
this is not needed, but please confirm I can remove the "new".

They want to wrap IOException into RuntimeException.

Vadim

Reply via email to