ROSoapMessageValidityException

Overview

Thie exception is thrown when any part of SOAP message appeared to be invalid or when a mandoatory part of the message is missing.

Location


 

exceptionName    (declared in ROException)

+ (nonnull NSString *) exceptionName

exceptionWithMessage:    (declared in ROException)

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

Parameters:

  • aExceptionMessage:

exceptionWithMessage:invalidCString:

Creates an exception instance specifying the invalid SOAP message part as C language string.

+ (ROSoapMessageValidityException *) exceptionWithMessage:(NSString *)aExceptionMessage invalidCString:(char *)aString

Parameters:

  • aExceptionMessage: A text message describing the error
  • aString: C language string containing the part of SOAP message that is invalid

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:invalidCString:    (declared in ROSoapException)

- (InstanceType) initWithMessage:(NSString *)aExceptionMessage invalidCString:(char *)aString

Parameters:

  • aExceptionMessage:
  • aString:

initWithMessage:invalidNSString:    (declared in ROSoapException)

- (InstanceType) initWithMessage:(NSString *)aExceptionMessage invalidNSString:(NSString *)aString

Parameters:

  • aExceptionMessage:
  • aString:

invalidPart  copy    (declared in ROSoapException)

May contain a SOAP message part that is considered invalid. Will contain the entire message in certain cases.

@property (copy) NSString *invalidPart

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

invalidPart  copy    (declared in ROSoapException)

May contain a SOAP message part that is considered invalid. Will contain the entire message in certain cases.

@property (copy) NSString *invalidPart

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:invalidCString:

Creates an exception instance specifying the invalid SOAP message part as C language string.

+ (ROSoapMessageValidityException *) exceptionWithMessage:(NSString *)aExceptionMessage invalidCString:(char *)aString

Parameters:

  • aExceptionMessage: A text message describing the error
  • aString: C language string containing the part of SOAP message that is invalid

 

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:invalidCString:    (declared in ROSoapException)

- (InstanceType) initWithMessage:(NSString *)aExceptionMessage invalidCString:(char *)aString

Parameters:

  • aExceptionMessage:
  • aString:

initWithMessage:invalidNSString:    (declared in ROSoapException)

- (InstanceType) initWithMessage:(NSString *)aExceptionMessage invalidNSString:(NSString *)aString

Parameters:

  • aExceptionMessage:
  • aString: