public class RemoteMessageException extends AudioBoxException
logger| Constructor and Description |
|---|
RemoteMessageException(Errors errors,
int statusCode)
Instantiates a new Remote message exception.
|
RemoteMessageException(com.google.api.client.http.HttpResponse response)
Instantiates a new Remote message exception.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
errorsToString(Errors errors)
Transforms error mapping into strings.
|
int |
getErrorCode()
Gets error code (typically the HTTP STATUS).
|
Errors |
getErrors()
Gets the errors mapping.
|
java.lang.String |
getMessage() |
java.lang.String |
toString()
Transforms error mapping into strings.
|
getResponsepublic RemoteMessageException(com.google.api.client.http.HttpResponse response)
response - the responsepublic RemoteMessageException(Errors errors, int statusCode)
errors - the errorsstatusCode - the status codepublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic int getErrorCode()
getErrorCode in class AudioBoxExceptionpublic Errors getErrors()
public java.lang.String toString()
toString in class java.lang.Throwablepublic static java.lang.String errorsToString(Errors errors)
errors - the errors mapping