summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/dbexception.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools/dbexception.cxx')
-rw-r--r--connectivity/source/commontools/dbexception.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/dbexception.cxx b/connectivity/source/commontools/dbexception.cxx
index ea96f9cb0c9e..e79f0dda4d49 100644
--- a/connectivity/source/commontools/dbexception.cxx
+++ b/connectivity/source/commontools/dbexception.cxx
@@ -239,7 +239,7 @@ void SQLExceptionInfo::append( TYPE _eType, const ::rtl::OUString& _rErrorMessag
case SQL_WARNING: aAppend <<= SQLWarning(); break;
case SQL_CONTEXT: aAppend <<= SQLContext(); break;
default:
- OSL_ENSURE( false, "SQLExceptionInfo::append: invalid exception type: this will crash!" );
+ OSL_FAIL( "SQLExceptionInfo::append: invalid exception type: this will crash!" );
break;
}