"JDM" == John D Mitchell <[EMAIL PROTECTED]> writes: JDM> (E) I suggest that you "homogenize" your constructors' declared JDM> exceptions. I.e., make all of them throw the same set of JDM> exceptions. The easy way to get into this habit is to just go one JDM> single step further than you already have -- i.e., make all of JDM> your constructors just wrappers around an internal helper method.
An alternative is to use factories. Joshua Bloch has a write-up of the benefits (and the costs) in his excellent adventure, "Effective Java" (pp. 5-9). --- Vladimir -------- Vladimir G. Ivanovic http://leonora.org/~vladimir 2770 Cowper St. [EMAIL PROTECTED] Palo Alto, CA 94306-2447 +1 650 678 8014 ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]