On 04/04/15 16:20, Dimitry Sibiryakov wrote: > Hello, All. > > I have two question about latest changes in interfaces: > > 1) In pluginmanager.cpp::findDefConfig() the only thing that is done with > status vector is > call of check() that throw. Why ThrowStatusWrapper isn't used there?
You are absolutely right - sometimes we will always (well, may be not always but definitely almost always) use throwing IStatus implementation. But this requires next series of changes in sources - remove explicit status checks but add catch blocks when some processing is needed. And that changes are not always trivial. > 2) Why wrapper is needed at all instead of declaring LocalStatus to be always > a throw-type > status? > Once again you are right - and first step in that direction is done, it's FbLocalStatus on jrd/status.h. ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel