403 Forbidden. More...
Public Member Functions | |
ForbiddenError () | |
Initializes a new instance of the fm.liveswitch.stun.turn.ForbiddenError class. More... | |
ForbiddenError (String message) | |
Initializes a new instance of the fm.liveswitch.stun.turn.ForbiddenError class. More... | |
String | getDescription () |
Gets the description for this fm.liveswitch.stun.Error. More... | |
![]() | |
Error (fm.liveswitch.ErrorCode code, String message) | |
Initializes a new instance of the fm.liveswitch.stun.Error class. More... | |
int | getStunCode () |
Gets the STUN code. More... | |
int | getStunErrorCode () |
Gets the STUN code. More... | |
![]() | |
Error () | |
Initializes a new instance of the fm.liveswitch.Error class. More... | |
Error (fm.liveswitch.ErrorCode code, java.lang.Exception exception) | |
Initializes a new instance of the fm.liveswitch.Error class. More... | |
fm.liveswitch.ErrorCode | getCode () |
Gets the code. More... | |
int | getCodeValue () |
Gets the code. More... | |
fm.liveswitch.ErrorCode | getErrorCode () |
Gets the code. More... | |
java.lang.Exception | getException () |
Gets the exception. More... | |
String | getMessage () |
Gets the message. More... | |
void | setCode (fm.liveswitch.ErrorCode value) |
Sets the code. More... | |
void | setCodeValue (int value) |
Sets the code. More... | |
void | setErrorCode (fm.liveswitch.ErrorCode value) |
Sets the code. More... | |
void | setException (java.lang.Exception value) |
Sets the exception. More... | |
void | setMessage (String value) |
Sets the message. More... | |
String | toJson () |
Serializes this instance to JSON. More... | |
String | toString () |
Returns the string representation of this error. More... | |
Additional Inherited Members | |
![]() | |
static fm.liveswitch.Error | createStunError (int code, fm.liveswitch.stun.Message message) |
Creates error for the given error code and with a given message. More... | |
![]() | |
static fm.liveswitch.Error | fromJson (String errorJson) |
Deserializes an instance from JSON. More... | |
static String | toJson (final fm.liveswitch.Error error) |
Serializes an instance to JSON. More... | |
403 Forbidden.
RFC 5766. Indicates that the request is valid, but the server is refusing to perform it, likely due to administrative restrictions. The client considers the current transaction as having failed. The client MAY notify the user or operator and SHOULD NOT retry the same request with this server until it believes the problem has been fixed.
fm.liveswitch.stun.turn.ForbiddenError.ForbiddenError | ( | ) |
Initializes a new instance of the fm.liveswitch.stun.turn.ForbiddenError class.
fm.liveswitch.stun.turn.ForbiddenError.ForbiddenError | ( | String | message | ) |
Initializes a new instance of the fm.liveswitch.stun.turn.ForbiddenError class.
message | The message. |
String fm.liveswitch.stun.turn.ForbiddenError.getDescription | ( | ) |
Gets the description for this fm.liveswitch.stun.Error.
Reimplemented from fm.liveswitch.Error.