ROBinMessageVersionException

Overview

This exception is thrown by ROBinMessage when incoming message's version (as specified in the dedicated binary message field) is not supported by the current RO SDK version.

Location


 

exceptionName    (declared in ROException)

+ (nonnull NSString *) exceptionName

exceptionWithMessage:    (declared in ROException)

+ (nonnull ROException *) exceptionWithMessage:(nonnull NSString *)aExceptionMessage

Parameters:

  • aExceptionMessage:

exceptionWithRemoteVersion:

Creates an exception instance

+ (ROBinMessageVersionException *) exceptionWithRemoteVersion:(long)aVersion

Parameters:

  • aVersion: Binary message version received from the remote

fromServer  assign    (declared in ROException)

This flag is used to distinguish server side exceptions from client side ones. Set to YES for server side exceptions.

@property (assign) BOOL fromServer

initWithMessage:    (declared in ROException)

- (nullable instancetype) initWithMessage:(nonnull NSString *)aExceptionMessage

Parameters:

  • aExceptionMessage:

initWithMessage:fromServer:    (declared in ROException)

- (nullable instancetype) initWithMessage:(nonnull NSString *)aExceptionMessage fromServer:(BOOL)aFromServer

Parameters:

  • aExceptionMessage:
  • aFromServer:

initWithRemoteVersion:

- (InstanceType) initWithRemoteVersion:(long)aVersion

Parameters:

  • aVersion:

maximumSupportedVersion

Maximum binary message version supported by the current RO SDK code.

@property (readonly) long maximumSupportedVersion

minimumSupportedVersion

Minimum binary message version supported by the current RO SDK code.

@property (readonly) long minimumSupportedVersion

remoteMessageVersion  assign

Binary message version received from the remote.

@property (assign) long remoteMessageVersion

serverStackTrace  copy    (declared in ROException)

@property (copy) nonnull NSString *serverStackTrace

 

fromServer  assign    (declared in ROException)

This flag is used to distinguish server side exceptions from client side ones. Set to YES for server side exceptions.

@property (assign) BOOL fromServer

maximumSupportedVersion

Maximum binary message version supported by the current RO SDK code.

@property (readonly) long maximumSupportedVersion

minimumSupportedVersion

Minimum binary message version supported by the current RO SDK code.

@property (readonly) long minimumSupportedVersion

remoteMessageVersion  assign

Binary message version received from the remote.

@property (assign) long remoteMessageVersion

serverStackTrace  copy    (declared in ROException)

@property (copy) nonnull NSString *serverStackTrace

 

exceptionName    (declared in ROException)

+ (nonnull NSString *) exceptionName

exceptionWithMessage:    (declared in ROException)

+ (nonnull ROException *) exceptionWithMessage:(nonnull NSString *)aExceptionMessage

Parameters:

  • aExceptionMessage:

exceptionWithRemoteVersion:

Creates an exception instance

+ (ROBinMessageVersionException *) exceptionWithRemoteVersion:(long)aVersion

Parameters:

  • aVersion: Binary message version received from the remote

 

initWithMessage:    (declared in ROException)

- (nullable instancetype) initWithMessage:(nonnull NSString *)aExceptionMessage

Parameters:

  • aExceptionMessage:

initWithMessage:fromServer:    (declared in ROException)

- (nullable instancetype) initWithMessage:(nonnull NSString *)aExceptionMessage fromServer:(BOOL)aFromServer

Parameters:

  • aExceptionMessage:
  • aFromServer:

initWithRemoteVersion:

- (InstanceType) initWithRemoteVersion:(long)aVersion

Parameters:

  • aVersion: