From bd0abbf49cbc1bc15d2c01ccd8aeba2cb8a91216 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 25 Nov 2006 03:58:33 +0000 Subject: Added exception messages. --- framework/Data/TDbConnection.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'framework/Data/TDbConnection.php') diff --git a/framework/Data/TDbConnection.php b/framework/Data/TDbConnection.php index 9ca57a4a..acb1aec1 100644 --- a/framework/Data/TDbConnection.php +++ b/framework/Data/TDbConnection.php @@ -285,8 +285,6 @@ class TDbConnection extends TComponent return TDbColumnCaseMode::LowerCase; case PDO::CASE_UPPER: return TDbColumnCaseMode::UpperCase; - default: - throw new TDbException('dbconnection_columncase_unknown'); } } @@ -323,8 +321,6 @@ class TDbConnection extends TComponent return TDbNullConversionMode::EmptyStringToNull; case PDO::NULL_TO_STRING: return TDbNullConversionMode::NullToEmptyString; - default: - throw new TDbException('dbconnection_nullconversion_unknown'); } } -- cgit v1.2.3