DERBY-6112; SSL Test (and network server )  can hang if serverSocket.accept() fails for something other than an IOException
   Changing the IOException to an Exception will prevent a hang/OOM.


git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1625453 13f79535-47bb-0310-9956-ffa450edef68