summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/JoinController.hxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-07-09 05:56:49 +0000
committerOcke Janssen <oj@openoffice.org>2001-07-09 05:56:49 +0000
commit507e109c5518fd5a09267630f1e2cade047984de (patch)
tree8e0b6ebfa12a67d5b7e7318d20a8259d7b37ef61 /dbaccess/source/ui/inc/JoinController.hxx
parent84d3294c846836a9ad7fe0647d7687aa4a1add80 (diff)
#88144# d&d for creating relations corrected
Diffstat (limited to 'dbaccess/source/ui/inc/JoinController.hxx')
-rw-r--r--dbaccess/source/ui/inc/JoinController.hxx22
1 files changed, 20 insertions, 2 deletions
diff --git a/dbaccess/source/ui/inc/JoinController.hxx b/dbaccess/source/ui/inc/JoinController.hxx
index cb6fe445a65e..49d921a8e593 100644
--- a/dbaccess/source/ui/inc/JoinController.hxx
+++ b/dbaccess/source/ui/inc/JoinController.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: JoinController.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: oj $ $Date: 2001-04-24 14:34:10 $
+ * last change: $Author: oj $ $Date: 2001-07-09 06:56:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -104,6 +104,7 @@ namespace dbaui
::std::vector<OTableWindowData*> m_vTableData;
Fraction m_aZoom;
+ ::dbtools::SQLExceptionInfo m_aExceptionInfo;
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > m_xConnection;
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > m_xDataSource;
@@ -157,6 +158,23 @@ namespace dbaui
virtual void Load(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream>& _rxIn);
virtual void Save(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream>& _rxOut);
+ /**
+ only defines a method to save a SQLException in d&d methods to show the error at a later state
+ set the internal member m_aExceptionInfo to _rInfo
+ */
+ void setErrorOccured(const ::dbtools::SQLExceptionInfo& _rInfo)
+ {
+ m_aExceptionInfo = _rInfo;
+ }
+ /**
+ just returns the internal member and clears it
+ */
+ ::dbtools::SQLExceptionInfo clearOccuredError()
+ {
+ ::dbtools::SQLExceptionInfo aInfo = m_aExceptionInfo;
+ m_aExceptionInfo = ::dbtools::SQLExceptionInfo();
+ return aInfo;
+ }
protected:
virtual OTableWindowData* createTableWindowData() = 0;
virtual void AddSupportedFeatures();