[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Why is informative_failure not a std::exception?
From: |
Christof Petig |
Subject: |
[Monotone-devel] Why is informative_failure not a std::exception? |
Date: |
Thu, 22 Sep 2005 10:00:41 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.6 (X11/20050912) |
I'm wondering about the reason that informative_failure is not an
std::exception but oops is. My code was catching std::exception to check
for any error and continue if possible but now I have to catch for
std::exception (e.g. oops, out_of_range) and informative_failure (E(),
I()) separately.
Especially since the interface is similar (both provide what (though
differently: public function vs public member))
Wondering
Christof
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-devel] Why is informative_failure not a std::exception?,
Christof Petig <=