wmJNI.c
getWmErrType
- jint
- getWmErrType(
WmContext *con)
Extracts the error type from the WmContext. You may call this method to retrieve detailed error type when exception occurs.
Error types:
WM_NO_ERROR - No Error
WM_INTERNAL_ERROR - Internal error - within this API
WM_THROWABLE - Throwable - non-specific exception within the java code
WM_SERVICE_EXCEPTION - Service Exception - application error
WM_DELIVERY_EXCEPTION - Delivery Exception - failure in guaranteed delivery engine
(must be administratively corrected, then reset via API)
WM_INVALID_ARG_ERROR - Invalid argument Exception
WM_ACCESS_EXCEPTION - Access Exception - user lacks authorization to requested services
WM_TX_EXPIRED - Tx Expired - guaranteed delivery failed due to expiration of TTL
or exceeding retry limit
WM_TX_HEURISTIC_ERROR - Tx Heuristic Error
- Parameters:
WmContext *con
- WmContext to extract error type from.
- Returns:
jint
- Error type.