ROException
Overview
ROException is the base class for all exception types related to Remoting SDK. This includes exceptions thrown from the RO SDK code indicating some error condition and exceptions defined in your RODL Library. The base exception type provides special support for propagating exceptions back from servers. Any server exceptions that are unknown on the client or do not descend from ROException will be represented using a special descendant of ROException, ROServerException .
Location
- Reference: ROTypes.h
- Namespace: RemObjectsSDK
- Ancestry: NSException | ROException
exceptionName
+ (nonnull NSString *) exceptionName
exceptionWithMessage:
+ (nonnull ROException *) exceptionWithMessage:(nonnull NSString *)aExceptionMessage
Parameters:
- aExceptionMessage:
fromServer assign
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:
- (nullable instancetype) initWithMessage:(nonnull NSString *)aExceptionMessage
Parameters:
- aExceptionMessage:
initWithMessage:fromServer:
- (nullable instancetype) initWithMessage:(nonnull NSString *)aExceptionMessage fromServer:(BOOL)aFromServer
Parameters:
- aExceptionMessage:
- aFromServer:
serverStackTrace copy
@property (copy) nonnull NSString *serverStackTrace
fromServer assign
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
@property (copy) nonnull NSString *serverStackTrace
exceptionName
+ (nonnull NSString *) exceptionName
exceptionWithMessage:
+ (nonnull ROException *) exceptionWithMessage:(nonnull NSString *)aExceptionMessage
Parameters:
- aExceptionMessage:
initWithMessage:
- (nullable instancetype) initWithMessage:(nonnull NSString *)aExceptionMessage
Parameters:
- aExceptionMessage:
initWithMessage:fromServer:
- (nullable instancetype) initWithMessage:(nonnull NSString *)aExceptionMessage fromServer:(BOOL)aFromServer
Parameters:
- aExceptionMessage:
- aFromServer:
- ROAESEnvelopeUnexpectedLengthException
- ROAsyncRequestException
- ROClientChannelException
- ROCommonCryptoException
- RODeprecatedApiException
- ROInvalidUrlException
- ROLibraryNotLinkedException
- ROMessageException
- ROMissingEventInvokerException
- RONotImplementedException
- ROPropertyValidationException
- RORemoteRequestTimeoutException
- ROServerException
- ROSuperHTTPException
- ROUnableInstantiateObjectException
- ROUnknownClassException
- ROVariantException
- ROZeroConfException
- ScriptException