An error. More...
Instance Methods | |
| (FMLiveSwitchErrorCode) | - code |
| Gets the code. More... | |
| (int) | - codeValue |
| Gets the code. More... | |
| (NSString *) | - description |
| Returns the string representation of this error. More... | |
| (FMLiveSwitchErrorCode) | - errorCode |
| Gets the code. More... | |
| (NSException *) | - exception |
| Gets the exception. More... | |
| (NSString *) | - getDescription |
| Gets the description for this FMLiveSwitchError. More... | |
| (instancetype) | - init |
| Initializes a new instance of the FMLiveSwitchError class. More... | |
| (instancetype) | - initWithCode:exception: |
| Initializes a new instance of the FMLiveSwitchError class. More... | |
| (instancetype) | - initWithCode:message: |
| Initializes a new instance of the FMLiveSwitchError class. More... | |
| (NSString *) | - message |
| Gets the message. More... | |
| (void) | - setCode: |
| Sets the code. More... | |
| (void) | - setCodeValue: |
| Sets the code. More... | |
| (void) | - setErrorCode: |
| Sets the code. More... | |
| (void) | - setException: |
| Sets the exception. More... | |
| (void) | - setMessage: |
| Sets the message. More... | |
| (NSString *) | - toJson |
| Serializes this instance to JSON. More... | |
Class Methods | |
| (FMLiveSwitchError *) | + error |
| Initializes a new instance of the FMLiveSwitchError class. More... | |
| (FMLiveSwitchError *) | + errorWithCode:exception: |
| Initializes a new instance of the FMLiveSwitchError class. More... | |
| (FMLiveSwitchError *) | + errorWithCode:message: |
| Initializes a new instance of the FMLiveSwitchError class. More... | |
| (FMLiveSwitchError *) | + fromJsonWithErrorJson: |
| Deserializes an instance from JSON. More... | |
| (NSString *) | + toJsonWithError: |
| Serializes an instance to JSON. More... | |
An error.
| - (FMLiveSwitchErrorCode) code |
Gets the code.
| - (int) codeValue |
Gets the code.
| - (NSString*) description |
Returns the string representation of this error.
| + (FMLiveSwitchError*) error |
Initializes a new instance of the FMLiveSwitchError class.
| - (FMLiveSwitchErrorCode) errorCode |
Gets the code.
| + (FMLiveSwitchError*) errorWithCode: | (FMLiveSwitchErrorCode) | code | |
| exception: | (NSException *) | exception | |
Initializes a new instance of the FMLiveSwitchError class.
| code | The code. |
| exception | The exception. |
| + (FMLiveSwitchError*) errorWithCode: | (FMLiveSwitchErrorCode) | code | |
| message: | (NSString *) | message | |
Initializes a new instance of the FMLiveSwitchError class.
| code | The code. |
| message | The message. |
Implemented in FMLiveSwitchStunError.
| - (NSException*) exception |
Gets the exception.
| + (FMLiveSwitchError*) fromJsonWithErrorJson: | (NSString *) | errorJson |
Deserializes an instance from JSON.
| errorJson | The JSON to deserialize. |
| - (NSString*) getDescription |
Gets the description for this FMLiveSwitchError.
Implemented in FMLiveSwitchStunUnknownAttributeError, FMLiveSwitchStunUnauthorizedStunError, FMLiveSwitchStunTurnWrongCredentialsError, FMLiveSwitchStunTurnUnsupportedTransportProtocolError, FMLiveSwitchStunTurnPeerAddressFamilyMismatchError, FMLiveSwitchStunTurnMobilityForbiddenError, FMLiveSwitchStunTurnInsufficientCapacityError, FMLiveSwitchStunTurnForbiddenError, FMLiveSwitchStunTurnConnectionTimeoutOrFailureError, FMLiveSwitchStunTurnConnectionAlreadyExistsError, FMLiveSwitchStunTurnAllocationQuotaReachedError, FMLiveSwitchStunTurnAllocationMismatchError, FMLiveSwitchStunTurnAddressFamilyNotSupportedError, FMLiveSwitchStunTryAlternateStunError, FMLiveSwitchStunStaleNonceError, FMLiveSwitchStunStaleCredentialsError, FMLiveSwitchStunServerError, FMLiveSwitchStunMissingUsernameError, FMLiveSwitchStunIntegrityCheckFailureError, FMLiveSwitchStunIceRoleConflictError, and FMLiveSwitchStunBadRequestError.
| - (instancetype) init |
Initializes a new instance of the FMLiveSwitchError class.
Implemented in FMLiveSwitchStunUnauthorizedStunError, FMLiveSwitchStunTurnWrongCredentialsError, FMLiveSwitchStunTurnUnsupportedTransportProtocolError, FMLiveSwitchStunTurnPeerAddressFamilyMismatchError, FMLiveSwitchStunTurnMobilityForbiddenError, FMLiveSwitchStunTurnInsufficientCapacityError, FMLiveSwitchStunTurnForbiddenError, FMLiveSwitchStunTurnConnectionTimeoutOrFailureError, FMLiveSwitchStunTurnConnectionAlreadyExistsError, FMLiveSwitchStunTurnAllocationQuotaReachedError, FMLiveSwitchStunTurnAllocationMismatchError, FMLiveSwitchStunTurnAddressFamilyNotSupportedError, FMLiveSwitchStunStaleNonceError, FMLiveSwitchStunStaleCredentialsError, FMLiveSwitchStunServerError, FMLiveSwitchStunMissingUsernameError, FMLiveSwitchStunIntegrityCheckFailureError, and FMLiveSwitchStunBadRequestError.
| - (instancetype) initWithCode: | (FMLiveSwitchErrorCode) | code | |
| exception: | (NSException *) | exception | |
Initializes a new instance of the FMLiveSwitchError class.
| code | The code. |
| exception | The exception. |
| - (instancetype) initWithCode: | (FMLiveSwitchErrorCode) | code | |
| message: | (NSString *) | message | |
Initializes a new instance of the FMLiveSwitchError class.
| code | The code. |
| message | The message. |
Implemented in FMLiveSwitchStunError.
| - (NSString*) message |
Gets the message.
| - (void) setCode: | (FMLiveSwitchErrorCode) | value |
Sets the code.
| - (void) setCodeValue: | (int) | value |
Sets the code.
| - (void) setErrorCode: | (FMLiveSwitchErrorCode) | value |
Sets the code.
| - (void) setException: | (NSException *) | value |
Sets the exception.
| - (void) setMessage: | (NSString *) | value |
Sets the message.
| - (NSString*) toJson |
Serializes this instance to JSON.
| + (NSString*) toJsonWithError: | (FMLiveSwitchError *) | error |
Serializes an instance to JSON.
| error | The error. |