Revision: 4627
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4627&view=rev
Author: fabiomaulo
Date: 2009-07-14 18:49:51 +0000 (Tue, 14 Jul 2009)
Log Message:
-----------
Docs ISQLExceptionConverter
Modified Paths:
--------------
branches/2.1.x/nhibernate/doc/reference/modules/manipulating_data.xml
Modified: branches/2.1.x/nhibernate/doc/reference/modules/manipulating_data.xml
===================================================================
--- branches/2.1.x/nhibernate/doc/reference/modules/manipulating_data.xml 2009-07-14 18:37:08 UTC (rev 4626)
+++ branches/2.1.x/nhibernate/doc/reference/modules/manipulating_data.xml 2009-07-14 18:49:51 UTC (rev 4627)
@@ -915,6 +915,9 @@
For exceptions thrown by the data provider while interacting with the database,
NHibernate will wrap the error in an instance of <literal>ADOException</literal>.
The underlying exception is accessible by calling <literal>ADOException.InnerException</literal>.
+ NHibernate converts the DbException into an appropriate ADOException subclass using the ISQLExceptionConverter attached to the SessionFactory.
+ By default, the ISQLExceptionConverter is defined by the configured dialect; however, it is also possible to plug in a custom implementation
+ (see the api-docs for the ISQLExceptionConverter class for details).
</para>
<para>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|