Mon, Jul 23 2007 12:46 PM
Marc Jacobi
Mini Patterns
Hi,
I just wanted to point out two blog posts I wrote over at http://obiwanjacobi.blogspot.com discussing two mini patterns:
The Throw Method and the Guard Method.
These mini patterns propose the use of an extra method to Throw an Exception and to Guard (validate) method parameter values.
Filed under: Code Design