xref: /AOO41X/main/offapi/com/sun/star/sdbc/BatchUpdateException.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_sdbc_BatchUpdateException_idl__
24#define __com_sun_star_sdbc_BatchUpdateException_idl__
25
26#ifndef __com_sun_star_sdbc_SQLException_idl__
27#include <com/sun/star/sdbc/SQLException.idl>
28#endif
29
30 module com {  module sun {  module star {  module sdbc {
31
32
33/** is thrown when an error occurs during a batch update operation.
34
35
36    <p>In addition to the information provided by
37    <type scope="com::sun::star::sdbc">SQLException</type>
38    , a
39    <code>BatchUpdateException</code>
40    provides the update counts for all commands
41    that were executed successfully during the batch update, that is, all commands
42    that were executed before the error occurred. The order of elements in an
43    array of update counts corresponds to the order in which commands were added
44    to the batch.</p>
45 */
46published exception BatchUpdateException: SQLException
47{
48
49    /** is an array of
50        <code>long</code>
51        , with each element
52        indicating the update count for a SQL command that executed
53        successfully before the exception was thrown.
54     */
55    sequence<long> UpdateCounts;
56};
57
58//=============================================================================
59
60}; }; }; };
61
62/*===========================================================================
63===========================================================================*/
64#endif
65