N
Novice
I'm trying to learn more about Error Handling. I've read the Java Tutorial
topic on it, as well as Bloch's Effective Java (2nd edition) tips on it.
I've started on Robust Java by Stephen Stelting too. I know I'm going to
have more questions later but one is bugging me right now and I'm not
seeing it mentioned anywhere so let me ask now.
Should I write stacktraces from my checked and unchecked exceptions to my
log? Or just assume that all stacktraces will be written to the console and
the console will always be accessible to everyone who needs it?
topic on it, as well as Bloch's Effective Java (2nd edition) tips on it.
I've started on Robust Java by Stephen Stelting too. I know I'm going to
have more questions later but one is bugging me right now and I'm not
seeing it mentioned anywhere so let me ask now.
Should I write stacktraces from my checked and unchecked exceptions to my
log? Or just assume that all stacktraces will be written to the console and
the console will always be accessible to everyone who needs it?