I am building my first Java library. The code uses lots of IO methods, so as you can imagine there are lots of exceptions to be caught. But I'm wondering, should I throw the exceptions? I mean surely it's the application writer's job to catch the exceptions. Because even if I catch them, I don't really know what the application would like to do in the event of this occurrence.
Should I throw IOExceptions etc, or should I catch them in the library code?