// All the rest is from the Connection or PGConnection interface
if(method.getName().equals("isClosed"))
{
returncon==null?Boolean.TRUE:Boolean.FALSE;
}
if(con==null)
{
thrownewSQLException(automatic?"Connection has been closed automatically because a new connection was opened for the same PooledConnection or the PooledConnection has been closed":"Connection has been closed");