>Your catch block is catching Exception, but the class
>NoClassDefFoundError extends Error which extends Throwable. Exception is
>a sub class of Throwable. So change your catch block to catch Throwable
>objects to ensure you can catch errors as well as exceptions.
try
{.........
}
............
catch (Error er)
{
System.out.println("<D> 6");
System.out.println("<D> error fop "
+
GregorianCalendar.getInstance().getTime());
System.out.println("<D> " + er.getMessage());
throw new ServletException();
}
this part of code should catch errors
--
View this message in context:
http://www.nabble.com/FopFactory.newInstance%28%29-error-tp23849856p23851389.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]