Geeks With Blogs
I, Codemonkey Codemonkeying Around 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 On Tuesday, July 3, 2007 9:05 AM

Copyright © Chas Williams | Powered by: