I, Codemonkey

Codemonkeying Around
posts - 4, comments - 7, trackbacks - 0

My Links

News

Archives

July 2007 Entries

Custom Exceptions and Exception Wrapping

I work almost only with code written by predecessors at my job. There's good code and bad code. Recently, I've been trying to clean up the exceptions. Just about everything is throw Exception() instead of customized exceptions, so you never really know what you're catching. It could be an IO exception, a null pointer, or whatever. The message is generally something that can be displayed to the user without them becoming confused, but with a mix of "good" message exceptions and "

posted @ Tuesday, July 03, 2007 9:05 AM | Feedback (0) |

Powered by: