src/main/java/org/gm4java/engine/support/GMConnectionPool.java
@Override
    public void returnObject(@Nonnull PooledGMConnection connection) throws GMServiceException {
        try {
            super.returnObject(connection);
        } catch (GMServiceException e) {
            throw e;
        } catch (RuntimeException e) {
            throw e;
        } catch (Exception e) {
            throw new GMServiceException(e.getMessage(), e);
        }
    }
@Override
    public void returnObject(@Nonnull PooledGMConnection connection) throws GMServiceException {
        try {
            super.returnObject(connection);
        } catch (GMServiceException e) {
            throw e;
        } catch (RuntimeException e) {
            throw e;
        } catch (Exception e) {
            throw new GMServiceException(e.getMessage(), e);
        }
    }
@ Override public void returnObject ( @ Nonnull PooledGMConnection connection ) throws GMServiceException { try { super . returnObject ( connection ) ; } catch ( GMServiceException e ) { throw e ; } catch ( RuntimeException e ) { throw e ; } catch ( Exception e ) { throw new GMServiceException ( e . getMessage ( ) , e ) ; } }
{@inheritDoc}
<p>
This implementation delegates to super class but ensures that there is no other checked exception except
{@link GMServiceException} will be thrown.
{ @inheritDoc } <p > This implementation delegates to super class but ensures that there is no other checked exception except { @link GMServiceException } will be thrown .