On 08/11/14 22:40, Adriano dos Santos Fernandes wrote: > On 11/08/2014 15:29, Tom Coleman wrote: >> I interface a proprietary language with Firebird, Oracle, and Sybase/MS-SQL. >> >> There is never any case where I would want to see std:exception. >> >> Could it be time to start thinking about burying this idea that is looking >> more and more like a sacred cow? >> >> > Then the chances of not wanting a FbException (not inherited from > std::exception) are also very high. > > This is what polices are for. You replace the parts which the library > author does not known how you want to be. > > One of the policies would be a DoNotThrowPolice, which will require you > to check the IStatus.
Police classes seem to be ideal for exception type control. ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel