ZException

public class ZException extends Exception

An Exception raised by Zenoh.

Fields

ZN_FAILED_TO_OPEN_SESSION

public static final Integer ZN_FAILED_TO_OPEN_SESSION

ZN_INSUFFICIENT_IOBUF_SIZE

public static final Integer ZN_INSUFFICIENT_IOBUF_SIZE

ZN_INVALID_ADDRESS_ERROR

public static final Integer ZN_INVALID_ADDRESS_ERROR

ZN_IO_ERROR

public static final Integer ZN_IO_ERROR

ZN_MESSAGE_PARSE_ERROR

public static final Integer ZN_MESSAGE_PARSE_ERROR

ZN_PAYLOAD_HEADER_PARSE_ERROR

public static final Integer ZN_PAYLOAD_HEADER_PARSE_ERROR

ZN_PROPERTIES_PARSE_ERROR

public static final Integer ZN_PROPERTIES_PARSE_ERROR

ZN_PROPERTY_PARSE_ERROR

public static final Integer ZN_PROPERTY_PARSE_ERROR

ZN_RESOURCE_DECL_ERROR

public static final Integer ZN_RESOURCE_DECL_ERROR

ZN_TX_CONNECTION_ERROR

public static final Integer ZN_TX_CONNECTION_ERROR

ZN_UNEXPECTED_MESSAGE

public static final Integer ZN_UNEXPECTED_MESSAGE

Z_ARRAY_PARSE_ERROR

public static final Integer Z_ARRAY_PARSE_ERROR

Z_NO_ERROR_CODE

public static final Integer Z_NO_ERROR_CODE

Z_STRING_PARSE_ERROR

public static final Integer Z_STRING_PARSE_ERROR

Z_VLE_PARSE_ERROR

public static final Integer Z_VLE_PARSE_ERROR

Constructors

ZException

public ZException(String message)

ZException

public ZException(String message, Throwable cause)

ZException

public ZException(String message, int errorCode)

ZException

public ZException(String message, int errorCode, Throwable cause)

Methods

getErrorCode

public int getErrorCode()

getErrorCodeName

public String getErrorCodeName()

toString

public String toString()