3 messages in com.mysql.lists.plusplusRe: exceptions in MySQL
FromSent OnAttachments
bhaskarb14 Oct 2003 11:44 
Warren Young14 Oct 2003 16:47 
Bhaskar Borthakur14 Oct 2003 17:03 
Subject:Re: exceptions in MySQL
From:Warren Young (war@etr-usa.com)
Date:10/14/2003 04:47:50 PM
List:com.mysql.lists.plusplus

bhaskarb wrote:

But query.store() /* as can be seen in the code snippet below*/ throws the same exception (BadQuery) for both the cases.

You could examine the 'error' member of the query object to distinguish between the two for now. But I agree with you, a new object type should be created to be thrown in this case. Maybe that will occur in 1.8.0? One can hope.