A
Alan Gutierrez
I'm writing an XML document object model that is paged. It is
not meant to be used directly by application developers, but
through one of the DOM APIs or through an engine like XSLT.
Since it is file based, rather than in memory, there are plenty
of places where IOException is thrown from java.io.*.
Since it is supports concurrent reads, there a are plenty of
places where InterruptedException is thrown.
I keep running into the checked versus unchecked debate in my
projects. Here it is again.
How am I supposed to support checked exceptions in my library
when there is no support for the sorts of error raised in the
wrapper APIs? How do I propagate an IOException through a W3C
DOM Node.getFirstChild() ?
not meant to be used directly by application developers, but
through one of the DOM APIs or through an engine like XSLT.
Since it is file based, rather than in memory, there are plenty
of places where IOException is thrown from java.io.*.
Since it is supports concurrent reads, there a are plenty of
places where InterruptedException is thrown.
I keep running into the checked versus unchecked debate in my
projects. Here it is again.
How am I supposed to support checked exceptions in my library
when there is no support for the sorts of error raised in the
wrapper APIs? How do I propagate an IOException through a W3C
DOM Node.getFirstChild() ?