summaryrefslogtreecommitdiff
path: root/include/connectivity/dbexception.hxx
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 19:06:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-01 09:51:32 -0600
commit8792ec7b2129650777b7b4bfacaa7c13d923279b (patch)
treef181e37b61533b460397cc68625fd21f46bb6393 /include/connectivity/dbexception.hxx
parentdff29fadfe418421f2af9fd4f1dccc8a9b4cd545 (diff)
Remove visual noise from include
Conflicts: include/framework/preventduplicateinteraction.hxx include/sfx2/sfxbasecontroller.hxx include/sfx2/sfxbasemodel.hxx include/toolkit/awt/vclxtabpagemodel.hxx include/vcl/field.hxx include/vcl/settings.hxx Change-Id: Ibccf9f88c68267a3d7e656012b51eaf644c418c2 Reviewed-on: https://gerrit.libreoffice.org/8272 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/connectivity/dbexception.hxx')
-rw-r--r--include/connectivity/dbexception.hxx44
1 files changed, 22 insertions, 22 deletions
diff --git a/include/connectivity/dbexception.hxx b/include/connectivity/dbexception.hxx
index 85f21488af5b..9882d7ef8492 100644
--- a/include/connectivity/dbexception.hxx
+++ b/include/connectivity/dbexception.hxx
@@ -42,22 +42,22 @@ namespace com
}
}
}
-//.........................................................................
+
namespace dbtools
{
-//.........................................................................
-//==============================================================================
+
+
//= Special exception if cancel is pressed in DBA UI
-//==============================================================================
+
enum OOoBaseErrorCode
{
ParameterInteractionCancelled = 1
};
-//==============================================================================
+
//= SQLExceptionInfo - encapsulating the type info of an SQLException-derived class
-//==============================================================================
+
class OOO_DLLPUBLIC_DBTOOLS SQLExceptionInfo
{
@@ -148,9 +148,9 @@ protected:
void implDetermineType();
};
-//==============================================================================
+
//= SQLExceptionIteratorHelper - iterating through an SQLException chain
-//==============================================================================
+
class OOO_DLLPUBLIC_DBTOOLS SQLExceptionIteratorHelper
{
@@ -210,10 +210,10 @@ public:
void next( SQLExceptionInfo& _out_rInfo );
};
-//==================================================================================
+
//= StandardExceptions
-//==================================================================================
-//----------------------------------------------------------------------------------
+
+
/** returns a standard error string for a given SQLState
@param _eState
@@ -223,7 +223,7 @@ public:
*/
OOO_DLLPUBLIC_DBTOOLS OUString getStandardSQLState( StandardSQLState _eState );
-//----------------------------------------------------------------------------------
+
/** throws an exception with SQL state IM001, saying that a certain function is not supported
*/
OOO_DLLPUBLIC_DBTOOLS void throwFunctionNotSupportedException(
@@ -233,7 +233,7 @@ OOO_DLLPUBLIC_DBTOOLS void throwFunctionNotSupportedException(
)
throw ( ::com::sun::star::sdbc::SQLException );
-//----------------------------------------------------------------------------------
+
/** throws a function sequence (HY010) exception
*/
OOO_DLLPUBLIC_DBTOOLS void throwFunctionSequenceException(
@@ -242,7 +242,7 @@ OOO_DLLPUBLIC_DBTOOLS void throwFunctionSequenceException(
)
throw ( ::com::sun::star::sdbc::SQLException );
-//----------------------------------------------------------------------------------
+
/** throw a invalid index sqlexception
*/
OOO_DLLPUBLIC_DBTOOLS void throwInvalidIndexException(
@@ -251,7 +251,7 @@ OOO_DLLPUBLIC_DBTOOLS void throwInvalidIndexException(
)
throw ( ::com::sun::star::sdbc::SQLException );
-//----------------------------------------------------------------------------------
+
/** throw a generic SQLException, i.e. one with an SQLState of HY000, an ErrorCode of 0 and no NextException
*/
OOO_DLLPUBLIC_DBTOOLS void throwGenericSQLException(
@@ -260,7 +260,7 @@ OOO_DLLPUBLIC_DBTOOLS void throwGenericSQLException(
)
throw (::com::sun::star::sdbc::SQLException);
-//----------------------------------------------------------------------------------
+
/** throw a generic SQLException, i.e. one with an SQLState of HY000, an ErrorCode of 0 and no NextException
*/
OOO_DLLPUBLIC_DBTOOLS void throwGenericSQLException(
@@ -270,7 +270,7 @@ OOO_DLLPUBLIC_DBTOOLS void throwGenericSQLException(
)
throw (::com::sun::star::sdbc::SQLException);
-//----------------------------------------------------------------------------------
+
/** throw a SQLException with SQLState HYC00 (Optional feature not implemented)
@param _rFeatureName
a description of the feature which is not implemented. It's recommended that the feature
@@ -287,7 +287,7 @@ OOO_DLLPUBLIC_DBTOOLS void throwFeatureNotImplementedException(
)
throw (::com::sun::star::sdbc::SQLException);
-//----------------------------------------------------------------------------------
+
/** throw a SQLException with SQLState 42S22 (Column Not Found)
@param _rColumnNameName
The column that couldn't be found.
@@ -300,7 +300,7 @@ OOO_DLLPUBLIC_DBTOOLS void throwInvalidColumnException(
)
throw (::com::sun::star::sdbc::SQLException);
-//----------------------------------------------------------------------------------
+
/** throws an SQLException
*/
OOO_DLLPUBLIC_DBTOOLS void throwSQLException(
@@ -312,7 +312,7 @@ OOO_DLLPUBLIC_DBTOOLS void throwSQLException(
)
throw (::com::sun::star::sdbc::SQLException);
-//----------------------------------------------------------------------------------
+
/** throws an SQLException
*/
OOO_DLLPUBLIC_DBTOOLS void throwSQLException(
@@ -324,9 +324,9 @@ OOO_DLLPUBLIC_DBTOOLS void throwSQLException(
)
throw (::com::sun::star::sdbc::SQLException);
-//.........................................................................
+
} // namespace dbtools
-//.........................................................................
+
#endif // INCLUDED_CONNECTIVITY_DBEXCEPTION_HXX