Bug 44411

GemStone/S 64 Bit

3.2.1, 3.2,,,,,,, 3.1, 3.0.1, 3.0, 2.4.8, 2.4.7, 2.4.6,, 2.4.5,,,,,,, 2.4.x,, 2.2.6,, 2.x


GsSocket >> isConnected, peerAddress, and peerPort signal exceptions on error

The method comments for GsSocket instance methods #isConnected, #peerPort, and #peerAddress state that they return nil if an error occurs.  These methods incorrectly signal an error if an error occurs, rather than returning nil.

In v3.2.2 and later, if an error occurs than #isConnected returns false, and #peerAddress and #peerPort, return nil.


Use an exception handler.

Last updated: 7/29/14