@Override public String toString() { Connection myCon = connection; if (myCon != null) { return "Pooled Connection to " + this.endpoint + ": " + myCon.toString(); } else { return "Pooled Connection to " + this.endpoint + ": Connection[DESTROYED]"; } }