Roxas240 / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

Improve error handling for missing resources #238

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If any refered resource is missing, NullPointerExceptions and such are thrown 
instead of exceptions the indicate which resource was missing. Examples:

Missing CSS results in:
java.io.IOException: Stream closed

Missing Fonts results in:
java.lang.NullPointerException
    at org.xhtmlrenderer.swing.NaiveUserAgent.getBinaryResource(NaiveUserAgent.java:237)

and so on...

Original issue reported on code.google.com by michael.wyraz on 4 Jul 2014 at 10:38