nonExistingDatasourceException.getLocalizedMessage()
</BUG>
);
throw new ConnectionServiceException( Response.SC_NOT_FOUND, message, nonExistingDatasourceException );
} catch ( Exception e ) {
<BUG>String message = Messages.getErrorString(
"ConnectionServiceImpl.ERROR_0006_UNABLE_TO_DELETE_CONNECTION", //$NON-NLS-1$

name,
e.getLocalizedMessage()
</BUG>
);

try {
datasourceMgmtSvc.deleteDatasourceByName( connection.getName() );
clearDatasource( connection.getName() );
return true;
} catch ( NonExistingDatasourceException nonExistingDatasourceException ) {
String message = Messages.getErrorString( "ConnectionServiceImpl.ERROR_0006_UNABLE_TO_DELETE_CONNECTION", //$NON-NLS-1$
connection.getName(), nonExistingDatasourceException.getLocalizedMessage() );
throw new ConnectionServiceException( Response.SC_NOT_FOUND, message, nonExistingDatasourceException );
} catch ( Exception e ) {
String message = Messages.getErrorString( "ConnectionServiceImpl.ERROR_0006_UNABLE_TO_DELETE_CONNECTION", //$NON-NLS-1$
connection.getName(), e.getLocalizedMessage() );
