ROTCPDispatchErrorException

Overview

This eception is thrown by ROTCPClientChannel class when it is unable to dispatch a message. As a rule this inidicates a network problem or unavailable server.

Location


 

commStage  assign

This integer number shows the communication stage that has failed. This information is valuable for the support team if you consider issuing a support request.

@property (assign) int commStage

exceptionName    (declared in ROException)

+ (nonnull NSString *) exceptionName

exceptionWithInnerError:    (declared in RODispatchErrorException)

Creates an exception object with the default error message and assigns the internal error object to it.

+ (RODispatchErrorException *) exceptionWithInnerError:(NSError *)aError

Parameters:

  • aError: The error object returned by the underlying communication subsystem

exceptionWithMessage:    (declared in ROException)

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

Parameters:

  • aExceptionMessage:

exceptionWithMessage:atStage:

Creates an exception instance with a error message and communication stage that has failed.

+ (ROTCPDispatchErrorException *) exceptionWithMessage:(NSString *)aExceptionMessage atStage:(int)aStage

Parameters:

  • aExceptionMessage: A text message describing the error condition
  • aStage: The communication stage number that has failed

exceptionWithMessage:innerError:    (declared in RODispatchErrorException)

Creates an exception object with a custom error message and assigns the internal error object to it.

+ (RODispatchErrorException *) exceptionWithMessage:(NSString *)aExceptionMessage innerError:(NSError *)aError

Parameters:

  • aExceptionMessage: Text message describing the error condition
  • aError: The error object returned by the underlying communication subsystem

exceptionWithMessage:innerError:atStage:

Creates an exception instance with a error message, communication stage that has failed and the error object returned by underlying communication subsystem.

+ (ROTCPDispatchErrorException *) exceptionWithMessage:(NSString *)aExceptionMessage innerError:(NSError *)aError atStage:(int)aStage

Parameters:

  • aExceptionMessage: A text message describing the error condition
  • aError: Error object returned by underlying communication subsystem
  • aStage: The communication stage number that has failed

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

initWithInnerError:    (declared in RODispatchErrorException)

- (InstanceType) initWithInnerError:(NSError *)aError

Parameters:

  • aError:

initWithMessage:    (declared in ROException)

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

Parameters:

  • aExceptionMessage:

initWithMessage:atStage:

- (InstanceType) initWithMessage:(NSString *)aExceptionMessage atStage:(int)aStage

Parameters:

  • aExceptionMessage:
  • aStage:

initWithMessage:fromServer:    (declared in ROException)

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

Parameters:

  • aExceptionMessage:
  • aFromServer:

initWithMessage:innerError:    (declared in RODispatchErrorException)

- (InstanceType) initWithMessage:(NSString *)aExceptionMessage innerError:(NSError *)aError

Parameters:

  • aExceptionMessage:
  • aError:

initWithMessage:innerError:atStage:

- (InstanceType) initWithMessage:(NSString *)aExceptionMessage innerError:(NSError *)aError atStage:(int)aStage

Parameters:

  • aExceptionMessage:
  • aError:
  • aStage:

innerError  retain    (declared in RODispatchErrorException)

@property (retain) NSError *innerError

serverStackTrace  copy    (declared in ROException)

@property (copy) nonnull NSString *serverStackTrace

 

commStage  assign

This integer number shows the communication stage that has failed. This information is valuable for the support team if you consider issuing a support request.

@property (assign) int commStage

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

innerError  retain    (declared in RODispatchErrorException)

@property (retain) NSError *innerError

serverStackTrace  copy    (declared in ROException)

@property (copy) nonnull NSString *serverStackTrace

 

exceptionName    (declared in ROException)

+ (nonnull NSString *) exceptionName

exceptionWithInnerError:    (declared in RODispatchErrorException)

Creates an exception object with the default error message and assigns the internal error object to it.

+ (RODispatchErrorException *) exceptionWithInnerError:(NSError *)aError

Parameters:

  • aError: The error object returned by the underlying communication subsystem

exceptionWithMessage:    (declared in ROException)

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

Parameters:

  • aExceptionMessage:

exceptionWithMessage:atStage:

Creates an exception instance with a error message and communication stage that has failed.

+ (ROTCPDispatchErrorException *) exceptionWithMessage:(NSString *)aExceptionMessage atStage:(int)aStage

Parameters:

  • aExceptionMessage: A text message describing the error condition
  • aStage: The communication stage number that has failed

exceptionWithMessage:innerError:    (declared in RODispatchErrorException)

Creates an exception object with a custom error message and assigns the internal error object to it.

+ (RODispatchErrorException *) exceptionWithMessage:(NSString *)aExceptionMessage innerError:(NSError *)aError

Parameters:

  • aExceptionMessage: Text message describing the error condition
  • aError: The error object returned by the underlying communication subsystem

exceptionWithMessage:innerError:atStage:

Creates an exception instance with a error message, communication stage that has failed and the error object returned by underlying communication subsystem.

+ (ROTCPDispatchErrorException *) exceptionWithMessage:(NSString *)aExceptionMessage innerError:(NSError *)aError atStage:(int)aStage

Parameters:

  • aExceptionMessage: A text message describing the error condition
  • aError: Error object returned by underlying communication subsystem
  • aStage: The communication stage number that has failed

 

initWithInnerError:    (declared in RODispatchErrorException)

- (InstanceType) initWithInnerError:(NSError *)aError

Parameters:

  • aError:

initWithMessage:    (declared in ROException)

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

Parameters:

  • aExceptionMessage:

initWithMessage:atStage:

- (InstanceType) initWithMessage:(NSString *)aExceptionMessage atStage:(int)aStage

Parameters:

  • aExceptionMessage:
  • aStage:

initWithMessage:fromServer:    (declared in ROException)

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

Parameters:

  • aExceptionMessage:
  • aFromServer:

initWithMessage:innerError:    (declared in RODispatchErrorException)

- (InstanceType) initWithMessage:(NSString *)aExceptionMessage innerError:(NSError *)aError

Parameters:

  • aExceptionMessage:
  • aError:

initWithMessage:innerError:atStage:

- (InstanceType) initWithMessage:(NSString *)aExceptionMessage innerError:(NSError *)aError atStage:(int)aStage

Parameters:

  • aExceptionMessage:
  • aError:
  • aStage: