transcoder exception handling

ruben malchow <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>


hi,

i am seeing some exception handling problems with the transcoder:

actually, it logs this:

java.lang.IllegalArgumentException: Width (0) and height (0) must be > 0
	at java.awt.image.SampleModel.<init>(SampleModel.java:108)
	at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java:124)
	at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java:91)
	at java.awt.image.SinglePixelPackedSampleModel.createCompatibleSampleModel(SinglePixelPackedSampleModel.java:197)

for a incorrect document, but it never throws this exception. i spent a huge amount of time trying to figure out what's wrong with my exception handling, but in the end - there wasn't even an exception to handle.

is this expected? why is it logged (to the console, no less!) if it is ignorable?

.rm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.