ROMissingEventInvokerException
Overview
This exception is thrown when there is an incoming event but it cannot be processed because the corresponding processing class (event invoker) is missing. This error is caused by mismatch between the generated remote service interface code and the current RODL on the server. Use rodl2objc utility to generate the proper interface code.
Location
- Reference: ROTypeManager.h
- Namespace: RemObjectsSDK
- Ancestry: NSException | ROException | ROMissingEventInvokerException
eventSinkName copy
The event sink name that is missing
@property (copy) NSString *eventSinkName
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
exceptionWithEventSinkName:
Creates an exception instance specifying the missing event sink.
+ (ROUnknownClassException *) exceptionWithEventSinkName:(NSString *)aName
Parameters:
- aName: The event sink name that is missing
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
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
initWithEventSinkName:
Initializes the exception instance specifying the missing event sink.
- (id) initWithEventSinkName:(NSString *)aName
Parameters:
- aName: The event sink name that is missing
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.
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
eventSinkName copy
The event sink name that is missing
@property (copy) NSString *eventSinkName
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)
Used to store the stack trace of server exception. The availability of this information depends on the server platform.
@property (copy) NSString *serverStackTrace
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
exceptionWithEventSinkName:
Creates an exception instance specifying the missing event sink.
+ (ROUnknownClassException *) exceptionWithEventSinkName:(NSString *)aName
Parameters:
- aName: The event sink name that is missing
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
initWithEventSinkName:
Initializes the exception instance specifying the missing event sink.
- (id) initWithEventSinkName:(NSString *)aName
Parameters:
- aName: The event sink name that is missing
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.
See Also
Event Sinks and Server Callbacks rodl2objc ROEventReceiver