Gentoo Archives: gentoo-portage-dev

From: Sebastian Pipping <sping@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Composite exceptions?
Date: Sat, 27 Feb 2010 03:12:14
Message-Id: 4B888D77.3030104@gentoo.org
1 Hello!
2
3
4 I was wondering how to best handle a case with functions that I would
5 like to collect several exceptions from. Is there an existing standard
6 way to solve this?
7
8 I was thinking of using the composite pattern for this allowing to throw
9 "a tree of exceptions" with the option to flatten it for display later.
10 How far off does that sound to you?
11
12
13
14 Sebastian

Replies

Subject Author
Re: [gentoo-portage-dev] Composite exceptions? Zac Medico <zmedico@g.o>