Class PushError
java.lang.Object
com.codename1.push.PushError
Describes a push registration or envelope-processing error.
The code is intended for application decisions and logging. The message is diagnostic text and may vary. A retryable error may be attempted again later with backoff; it is not a promise that an immediate retry will work.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Returns the stable machine-readable error code.Returns the diagnostic error text.booleanIndicates whether retrying later may succeed.
-
Constructor Details
-
PushError
-
-
Method Details
-
getCode
-
getMessage
-
isRetryable
public boolean isRetryable()Indicates whether retrying later may succeed.- Returns:
truefor a potentially transient failure
-