public class ZMQExceptions extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isContextTerminated(org.zeromq.ZMQException thrown)
Helper method to determine if error code is
ETERM . |
static boolean |
isInvalidSocket(org.zeromq.ZMQException thrown)
Helper method to determine if error code is
ENOTSOCK . |
static ZMQRuntimeException |
wrap(org.zeromq.ZMQException thrown)
Wrap an underlying ZMQException in the appropriate higher level exception.
|
public static ZMQRuntimeException wrap(org.zeromq.ZMQException thrown)
thrown
- The underlying ZMQExceptionpublic static boolean isContextTerminated(org.zeromq.ZMQException thrown)
ETERM
.thrown
- A ZMQException, thrown by the librarypublic static boolean isInvalidSocket(org.zeromq.ZMQException thrown)
ENOTSOCK
.thrown
- A ZMQException, thrown by the libraryCopyright © 2019. All rights reserved.