ROSuperHTTPPackageTooBigException
Overview
Thius exception is thrown when the size of data package being transmitted exceeds the configured limits. This exception can be thrown on both client and server sides. Use ROSuperHTTPClientChannel property to configure the desired maximum packages size for Xcode clients and refer to corresponding server channel's documentation for server side configuration.
Location
- Reference: ROSuperHTTPClientChannel.h
- Namespace: RemObjectsSDK
- Ancestry: NSException | ROException | ROSuperHTTPException | ROSuperHTTPPackageTooBigException
exceptionName (declared in ROException)
+ (nonnull NSString *) exceptionName
exceptionWithMessage: (declared in ROException)
+ (nonnull ROException *) exceptionWithMessage:(nonnull NSString *)aExceptionMessage
Parameters:
- aExceptionMessage:
exceptionWithPackageSize:maxPackageSize:
Creates an exception specifying package size information.
+ (ROSuperHTTPPackageTooBigException *) exceptionWithPackageSize:(NSUInteger)aSize maxPackageSize:(NSUInteger)aMaxSize
Parameters:
- aSize: The package size that was attempted to be transferred
- aMaxSize: The maximum package size configured
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:
initWithPackageSize:maxPackageSize:
- (InstanceType) initWithPackageSize:(NSUInteger)aSize maxPackageSize:(NSUInteger)aMaxSize
Parameters:
- aSize:
- aMaxSize:
maxPackageSize assign
The maximum package size configured.
@property (assign) NSUInteger maxPackageSize
packageSize assign
The package size that was attempted to be transferred.
@property (assign) NSUInteger packageSize
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
maxPackageSize assign
The maximum package size configured.
@property (assign) NSUInteger maxPackageSize
packageSize assign
The package size that was attempted to be transferred.
@property (assign) NSUInteger packageSize
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:
exceptionWithPackageSize:maxPackageSize:
Creates an exception specifying package size information.
+ (ROSuperHTTPPackageTooBigException *) exceptionWithPackageSize:(NSUInteger)aSize maxPackageSize:(NSUInteger)aMaxSize
Parameters:
- aSize: The package size that was attempted to be transferred
- aMaxSize: The maximum package size configured
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:
initWithPackageSize:maxPackageSize:
- (InstanceType) initWithPackageSize:(NSUInteger)aSize maxPackageSize:(NSUInteger)aMaxSize
Parameters:
- aSize:
- aMaxSize: