On 03 Jun 2011, at 17:27, Theresa Jayne Forster wrote:

Hi Theresa

> This makes no sense its crashing out with no error on this line
> Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF,useragent,out);
> And it jumps straight to 
>          System.out.print("*");
<snip />
>        }  catch (TransformerConfigurationException ex) {
>            ex.printStackTrace();
>        } catch (TransformerException ex) {
>            ex.printStackTrace();
>        } catch (FOPException ex) {
>            ex.printStackTrace();
>        } catch (FileNotFoundException ex) {
>            ex.printStackTrace();
>       } catch (IOException ex) {
>            ex.printStackTrace();
>        } catch (Exception ex) {
>            ex.printStackTrace();

Not as a general practice, but if all else fails:

        } catch (Throwable t) {
            t.printStackTrace();
        }

Hopefully, that will reveal what is happening here.


Regards

Andreas
---

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to