JSS_throwMsg(env, SOCKET_EXCEPTION, "PR_GetSockName failed");
JSS_throwMsgPrErr(env, SOCKET_EXCEPTION, "PR_GetSockName failed");
JSSL_getSockAddr    (JNIEnv *env, jobject self, PRNetAddr *addr, LocalOrPeer localOrPeer){    JSSL_SocketData *sock;    PRStatus status;    /* get my fd */    if( JSSL_getSockData(env, self, &sock) != PR_SUCCESS ) {        return;    }    /* get the port */    if( localOrPeer == LOCAL_SOCK ) {        status = PR_GetSockName(sock->fd, addr);    } else {        PR_ASSERT( localOrPeer == PEER_SOCK );        status = PR_GetPeerName(sock->fd, addr);    }    if( status != PR_SUCCESS ) {        JSS_throwMsg(env, SOCKET_EXCEPTION, "PR_GetSockName failed");    }}