SendException

public final class SendException extends Exception

Firebase message send exception.

This will be passed to onSendError(String, Exception) on errors that prevented a message from being sent via send(RemoteMessage)

Constant Summary

int ERROR_INVALID_PARAMETERS Message was sent with invalid parameters.
int ERROR_SIZE Message exceeded the maximum payload size.
int ERROR_TOO_MANY_MESSAGES App has too many pending messages so this one was dropped.
int ERROR_TTL_EXCEEDED Message time to live (TTL) was exceeded before the message could be sent.
int ERROR_UNKNOWN Unknown error.

Public Method Summary

int

Inherited Method Summary

Constants

public static final int ERROR_INVALID_PARAMETERS

Message was sent with invalid parameters.

Constant Value: 1

public static final int ERROR_SIZE

Message exceeded the maximum payload size.

Constant Value: 2

public static final int ERROR_TOO_MANY_MESSAGES

App has too many pending messages so this one was dropped.

Constant Value: 4

public static final int ERROR_TTL_EXCEEDED

Message time to live (TTL) was exceeded before the message could be sent.

Constant Value: 3

public static final int ERROR_UNKNOWN

Unknown error.

Constant Value: 0

Public Methods

public int getErrorCode ()