Re: adding raises (SQLException) to two methods of published XDatabaseMetaData ?

2014-06-16 Thread Stephan Bergmann
On 06/13/2014 03:09 PM, Lionel Elie Mamane wrote: So, one question is, what is the LibreOffice coding standard for internal inconsistency? Do we have a specific exception for that, do we rather abort() (in debug mode) and return no value / empty value / 0 to the caller? From what you describe,

adding raises (SQLException) to two methods of published XDatabaseMetaData ?

2014-06-13 Thread Caolán McNamara
in published api offapi/com/sun/star/sdbc/XDatabaseMetaData.idl two methods... long getDriverMajorVersion(); long getDriverMinorVersion(); have no raises (SQLException) spec unlike all the other members, and the following four coverity ids show that there are 4 implementations of these

Re: adding raises (SQLException) to two methods of published XDatabaseMetaData ?

2014-06-13 Thread Lionel Elie Mamane
On Fri, Jun 13, 2014 at 11:46:07AM +0100, Caolán McNamara wrote: in published api offapi/com/sun/star/sdbc/XDatabaseMetaData.idl two methods... long getDriverMajorVersion(); long getDriverMinorVersion(); have no raises (SQLException) spec unlike all the other members, That's