Is there any way to programatically differentiate between what caused an IOException? For example java will throw an IOException, if there was an error during writing. How can i tell, if its something like access violation, if the Disk is out of free space, if someone disconnected the the network drive, or other things.
I can't really parse the Message since, there does not seem to be any standardized message format, Sun (or oracle now i guess) doesn't seem to have any sort of standardized format.
Any suggestions (I am pretty new to Java, its not my normal language, but i need to use it to fix a very broken system at work.)