summaryrefslogtreecommitdiff
path: root/framework/Data/TDbCommand.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/TDbCommand.php
parentb09acac59340fca37b5149cc0354093b7d7ab015 (diff)
Added exception messages.
Diffstat (limited to 'framework/Data/TDbCommand.php')
-rw-r--r--framework/Data/TDbCommand.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/TDbCommand.php b/framework/Data/TDbCommand.php
index 7ae32d17..91b165fa 100644
--- a/framework/Data/TDbCommand.php
+++ b/framework/Data/TDbCommand.php
@@ -257,7 +257,7 @@ class TDbCommand extends TComponent
}
catch(Exception $e)
{
- throw new TDbException('dbcommand_queryscalar_failed',$e->getMessage());
+ throw new TDbException('dbcommand_query_failed',$e->getMessage());
}
}
}