1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: SQLWarning.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _CONNECTIVITY_JAVA_SQL_SQLWARNING_HXX_
32 #define _CONNECTIVITY_JAVA_SQL_SQLWARNING_HXX_
34 #include "java/sql/SQLException.hxx"
35 //#ifndef _COM_SUN_STAR_SDBC_SQLWARNING_HPP_
36 //#include <com/sun/star/sdbc/SQLWarning.hpp>
39 namespace connectivity
41 // namespace starsdbc = ::com::sun::star::sdbc;
42 // namespace ::com::sun::star::uno = ::com::sun::star::uno;
43 //**************************************************************
44 //************ Class: java.sql.SQLWarning
45 //**************************************************************
46 class java_sql_SQLWarning_BASE
: public java_sql_SQLException_BASE
49 // statische Daten fuer die Klasse
50 static jclass theClass
;
52 virtual jclass
getMyClass() const;
53 virtual ~java_sql_SQLWarning_BASE();
54 // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
55 java_sql_SQLWarning_BASE( JNIEnv
* pEnv
, jobject myObj
) : java_sql_SQLException_BASE( pEnv
, myObj
){}
59 class java_sql_SQLWarning
: public java_sql_SQLException
62 java_sql_SQLWarning(const java_sql_SQLWarning_BASE
& _rW
,const ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> & _rContext
)
63 : java_sql_SQLException(_rW
,_rContext
) {}
66 #endif // _CONNECTIVITY_JAVA_SQL_SQLWARNING_HXX_