RODeprecatedApiException
Overview
This exception can be thrown ny various classes to indicate that certain method or even entire class is deprecated and cannot be used any more. The exception message will contain hints about suitable replacement of the deprecated API.
Location
- Reference: ROExceptions.h
- Namespace: RemObjectsSDK
- Ancestry: NSException | ROException | RODeprecatedApiException
exceptionName (declared in ROException)
+ (nonnull NSString *) exceptionName
exceptionWithMessage: (declared in ROException)
+ (nonnull ROException *) exceptionWithMessage:(nonnull NSString *)aExceptionMessage
Parameters:
- aExceptionMessage:
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:
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
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:
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: