ROSuperHTTPCommunicationException

Overview

This exception is thrown by ROSuperHTTPClientChannel in case there is a error reported by underlying HTTP connections. The most common cause is a network link failure.

Location


 

exceptionName    (declared in ROException)

+ (nonnull NSString *) exceptionName

exceptionWithMessage:    (declared in ROException)

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

Parameters:

  • aExceptionMessage:

exceptionWithMessage:innerError:

Creates an exception instance specifying error message and optional inner error object.

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

Parameters:

  • aExceptionMessage: A text message describing the error condition
  • aError: The error object returned by the HTTP subsystem

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:

initWithMessage:innerError:

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

Parameters:

  • aExceptionMessage:
  • aError:

innerError  retain

The error object returned by the HTTP subsystem

@property (retain) NSError *innerError

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

innerError  retain

The error object returned by the HTTP subsystem

@property (retain) NSError *innerError

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:

exceptionWithMessage:innerError:

Creates an exception instance specifying error message and optional inner error object.

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

Parameters:

  • aExceptionMessage: A text message describing the error condition
  • aError: The error object returned by the HTTP subsystem

 

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:

initWithMessage:innerError:

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

Parameters:

  • aExceptionMessage:
  • aError: