JSS_throwMsg(env, SOCKET_EXCEPTION, "PR_GetSocketOption failed");
JSS_throwMsgPrErr(env, SOCKET_EXCEPTION, "PR_GetSocketOption failed");
Java_org_mozilla_jss_ssl_SSLSocket_getReceiveBufferSize(    JNIEnv *env, jobject self){    PRSocketOptionData sockOptions;    JSSL_SocketData *sock;    PRStatus status;    if( JSSL_getSockData(env, self, &sock) != PR_SUCCESS ) {        goto finish;    }    sockOptions.option = PR_SockOpt_RecvBufferSize;    status = PR_GetSocketOption(sock->fd, &sockOptions);    if( status != PR_SUCCESS ) {        JSS_throwMsg(env, SOCKET_EXCEPTION, "PR_GetSocketOption failed");        goto finish;    }finish:    return sockOptions.value.recv_buffer_size;}