blob: 4386bd625f9d6c47f0c29c9f3094268448d30635 [file]
use java.io.*;
use java.nio.channels.{ClosedChannelException,*};
try {
throw new IOException("test");
j.fail();
} catch(ClosedChannelException e){
j.fail();
} catch(IOException e) {
pst(e);
j.assertEquals("test", getMessage(e));
} catch(AcceptPendingException e) {
j.fail();
}