summaryrefslogtreecommitdiff
path: root/framework/Data/TDbConnection.php
diff options
context:
space:
mode:
authorxue <>2006-11-25 03:58:33 +0000
committerxue <>2006-11-25 03:58:33 +0000
commitbd0abbf49cbc1bc15d2c01ccd8aeba2cb8a91216 (patch)
tree2970dd1c06fc0b87c2d0f27cc83fb035de80d304 /framework/Data/TDbConnection.php
parentb09acac59340fca37b5149cc0354093b7d7ab015 (diff)
Added exception messages.
Diffstat (limited to 'framework/Data/TDbConnection.php')
-rw-r--r--framework/Data/TDbConnection.php4
1 files changed, 0 insertions, 4 deletions
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');
}
}