|
From: | Daniele |
Subject: | Re: [bug-myserver] [PROPOSAL] Exception management scheme |
Date: | Sun, 28 Mar 2010 00:31:13 +0100 |
Eventually, we can wrap this entire system in a macro or function CHECK_ERROR that takes the return value of a function and throws the appropriate exception if necessary.
Usage example:
try
{
CHECK_ERROR(bind(...));
} catch ...
[Prev in Thread] | Current Thread | [Next in Thread] |