New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal exception thrown [DNET118] #129
Comments
Modified by: Thomas Gaboriau (tgaboriau)description: There are some cases where a IscException is thrown. But IscException is internal of the Assembly Firebird and it cannot be treated out by ours applications. I think all IscException thrown should be encapsulated in FbException. An example : //When the database is on a distant machine the IscException is not encapsulated
=> There are some cases where a IscException is thrown. But IscException is internal of the Assembly Firebird and it cannot be treated out by ours applications. I think all IscException thrown should be encapsulated in FbException. An example : //When the database is on a distant machine the IscException is not encapsulated
|
Commented by: @carlosga Fixed in SVN for 2.5 sources |
Commented by: @carlosga Fixed in SVN for 2.5.0 sources |
Modified by: @carlosgastatus: Resolved [ 5 ] => Closed [ 6 ] |
Submitted by: Thomas Gaboriau (tgaboriau)
Assigned to: @carlosga
There are some cases where a IscException is thrown. But IscException is internal of the Assembly Firebird and it cannot be treated out by ours applications.
I think all IscException thrown should be encapsulated in FbException.
An example :
//When the database is on a distant machine the IscException is not encapsulated
try
{
FbBackup fbBackup = new FbBackup();
fbBackup.ConnectionString = @"DataSource=distantmachinename;Database=C:\Program Files\Firebird\Firebird_1_5\examples\EMPLOYEE.FDB; " +
"User=user;Password=password;Role=;Port=3050;Connection lifetime=;Connection timeout=;"+
"Pooling=true;MaxPoolSize=1;Dialect=3;Charset=NONE;Packet Size=8192;Server Type=0;";
Commits: cfaec2a
The text was updated successfully, but these errors were encountered: