ROSoapMissingRefTargeException

Overview

This exception indicates that the incoming SOAP message contains references to some entities but those entities are missing. The possible cause is the SOAP server error or data corruption.

Location

 

exception

Creates an exception instance with the default error message.

+ (ROSoapMissingRefTargeException *) exception

exceptionName    (declared in ROException)

Return the exception name to be used to construct the class instance as NSException descendant. See NSException documentation for more details.

+ (NSString *) exceptionName

exceptionWithMessage:    (declared in ROException)

Constructs the excetion instance with the given text message (corresponds to reason of NSException).

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

Parameters:

  • aExceptionMessage: A text string decribing the exception

exceptionWithMessage:invalidCString:    (declared in ROSoapMessageValidityException)

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)

initializes a new ROException with the given error message.

- (id) initWithMessage:(NSString *)aExceptionMessage

Parameters:

  • aExceptionMessage: A text string decribing the exception

initWithMessage:fromServer:    (declared in ROException)

Initializes a new ROException with the given error message and optionally marks the exception as having been received from a server by setting the fromServer property.

- (id) initWithMessage:(NSString *)aExceptionMessage fromServer:(BOOL)aFromServer

Parameters:

  • aExceptionMessage: A text string decribing the exception
  • aFromServer: Set to YES for server side exceptions.

initWithMessage:invalidCString:    (declared in ROSoapException)

Initializes the exception instance specifying the invalid SOAP message part as C language string. Used when processing libxml (that is C based API) errors.

- (id) initWithMessage:(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:invalidNSString:    (declared in ROSoapException)

Initializes the exception instance specifying the invalid SOAP message part as string object.

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

Parameters:

  • aExceptionMessage: A text message describing the error
  • aString: String object containing the part of SOAP message that is invalid

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)

Used to store the stack trace of server exception. The availability of this information depends on the server platform.

@property (copy) 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)

Used to store the stack trace of server exception. The availability of this information depends on the server platform.

@property (copy) NSString *serverStackTrace

 

exception

Creates an exception instance with the default error message.

+ (ROSoapMissingRefTargeException *) exception

exceptionName    (declared in ROException)

Return the exception name to be used to construct the class instance as NSException descendant. See NSException documentation for more details.

+ (NSString *) exceptionName

exceptionWithMessage:    (declared in ROException)

Constructs the excetion instance with the given text message (corresponds to reason of NSException).

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

Parameters:

  • aExceptionMessage: A text string decribing the exception

exceptionWithMessage:invalidCString:    (declared in ROSoapMessageValidityException)

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)

initializes a new ROException with the given error message.

- (id) initWithMessage:(NSString *)aExceptionMessage

Parameters:

  • aExceptionMessage: A text string decribing the exception

initWithMessage:fromServer:    (declared in ROException)

Initializes a new ROException with the given error message and optionally marks the exception as having been received from a server by setting the fromServer property.

- (id) initWithMessage:(NSString *)aExceptionMessage fromServer:(BOOL)aFromServer

Parameters:

  • aExceptionMessage: A text string decribing the exception
  • aFromServer: Set to YES for server side exceptions.

initWithMessage:invalidCString:    (declared in ROSoapException)

Initializes the exception instance specifying the invalid SOAP message part as C language string. Used when processing libxml (that is C based API) errors.

- (id) initWithMessage:(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:invalidNSString:    (declared in ROSoapException)

Initializes the exception instance specifying the invalid SOAP message part as string object.

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

Parameters:

  • aExceptionMessage: A text message describing the error
  • aString: String object containing the part of SOAP message that is invalid

See Also

ROSoapMessage