Project

General

Profile

Bug #3550

Wt::Dbo::Call::~Call has noexcept( true ) by default

Added by Nikolay Kopylov almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/28/2014
Due date:
% Done:

0%

Estimated time:

Description

Hi, I had been caugth with the issue that the exception thrown from Wt::Dbo::Call::run cannot be caugth in the user code.

The execution end up in terminate()

After two days of investigation, I had made the local patch, declaring Wt::Dbo::Call::~Call as noexcept( false ).

I think this link is relevant: http://stackoverflow.com/questions/11497252/default-destructor-nothrow

The problem exists on gcc 4.8.2 and 4.9.1 and Wt 3.3.3, on Unbuntu 14.04

I'm using Postgres as a backend.

And, I'm not sure whether it's connected with the bug or not, but tests do not pass, I received 13 errors.

Also available in: Atom PDF