3 ms·
This is actually the reason exceptions were created - in some languages, such as C, there are no exceptions and so the result of each write needs to be manually
by RyanZAG 13y ago
This is actually the reason exceptions were created - in some languages, such as C, there are no exceptions and so the result of each write needs to be manually checked for errors.
If you're using a language with exceptions, your program will halt if it can't write. If you're using a language with checked exceptions, you'll have to write code to deal with any possible exception that can be thrown.