Search
j0ke.net Open Build Service
>
Projects
>
SUSE
:
Manager
:
1.2
>
c3p0
> c3p0-codegen-java6.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File c3p0-codegen-java6.patch of Package c3p0
--- build/codegen/com/mchange/v2/c3p0/impl/NewProxyConnection.java +++ build/codegen/com/mchange/v2/c3p0/impl/NewProxyConnection.java @@ -1448,7 +1448,7 @@ { if ( this.isDetached() ) { - throw SqlUtils.toSQLException("You can't operate on a closed Connection!!!", exc); + throw new SQLClientInfoException(); } else throw exc; } @@ -1456,9 +1456,9 @@ { if (! this.isDetached()) { - throw parentPooledConnection.handleThrowable( exc ); + throw new SQLClientInfoException(); } - else throw SqlUtils.toSQLException( exc ); + throw new SQLClientInfoException(); } } @@ -1474,17 +1474,17 @@ { if ( this.isDetached() ) { - throw SqlUtils.toSQLException("You can't operate on a closed Connection!!!", exc); + throw new SQLClientInfoException(); } - else throw exc; + throw new SQLClientInfoException(); } catch (Exception exc) { if (! this.isDetached()) { - throw parentPooledConnection.handleThrowable( exc ); + throw new SQLClientInfoException(); } - else throw SqlUtils.toSQLException( exc ); + throw new SQLClientInfoException(); } }