Community
Participate
Working Groups
There are several places across the RWT code base where a stream is closed, the IOException is caught and turned into a runtime exception of some sort: * ThemeManager * ImageDataFactory * ImageFactory * InternalImageFactory These code passages should be united in one place. One candiate would be the class StreamWritingUtil if it were renamed to something more general like StreamUtil, or IOUtil.
Renamed StreamWritingUtil to StreamUtil and introduced a close() method. If an IOException occues while closing an (input-)stream, it is wrapped into a RuntimeException and re-thrown. Changes are in CVS HEAD.