ROInvalidClientIdException

Overview

This exception is thrown when SuperHTTP server could not identify the connecting client as known. This could happen after the server was restarted unexpectedly to the client or the client sufferes from prolonged connection failure.

Location


 

exception

+ (ROInvalidClientIdException *) exception

exceptionName    (declared in ROException)

+ (nonnull NSString *) exceptionName

exceptionWithMessage: exceptionWithMessage:(nonnull NSString *) : nonnull ROException *    (declared in ROException)

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

Parameters:

  • aExceptionMessage:

exceptionWithMessage: exceptionWithMessage:(NSString *) : ROSuperHTTPProtocolException *    (declared in ROSuperHTTPProtocolException)

Creates an execption instance with a custom error message.

+ (ROSuperHTTPProtocolException *) exceptionWithMessage:(NSString *)aExceptionMessage

Parameters:

  • aExceptionMessage: The text string describing the error condition

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:

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

serverStackTrace  copy    (declared in ROException)

@property (copy) nonnull NSString *serverStackTrace

 

exception

+ (ROInvalidClientIdException *) exception

exceptionName    (declared in ROException)

+ (nonnull NSString *) exceptionName

exceptionWithMessage: exceptionWithMessage:(nonnull NSString *) : nonnull ROException *    (declared in ROException)

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

Parameters:

  • aExceptionMessage:

exceptionWithMessage: exceptionWithMessage:(NSString *) : ROSuperHTTPProtocolException *    (declared in ROSuperHTTPProtocolException)

Creates an execption instance with a custom error message.

+ (ROSuperHTTPProtocolException *) exceptionWithMessage:(NSString *)aExceptionMessage

Parameters:

  • aExceptionMessage: The text string describing the error condition

 

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:

 

ROSuperHTTPClinetChannel