Package org.mozilla.jss.nss
Class PRErrors
java.lang.Object
org.mozilla.jss.nss.PRErrors
This class provides access to useful NSPR errors, getting their values from
a JNI call. Note that it *isn't* an enum as the NSPR wrappers return int.
This saves us from having to wrap every NSPR error.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The socket is shutdown.static final int
The call would block. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
private static int
-
Field Details
-
WOULD_BLOCK_ERROR
public static final int WOULD_BLOCK_ERRORThe call would block. See also: PR_WOULD_BLOCK_ERROR in /usr/include/nspr4/prerr.h -
SOCKET_SHUTDOWN_ERROR
public static final int SOCKET_SHUTDOWN_ERRORThe socket is shutdown. See also: PR_SOCKET_SHUTDOWN_ERROR in /usr/include/nspr4/prerr.h
-
-
Constructor Details
-
PRErrors
public PRErrors()
-
-
Method Details
-
getWouldBlockError
private static int getWouldBlockError() -
getSocketShutdownError
private static int getSocketShutdownError()
-