public static class

PushProvider.RegistrationException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.urbanairship.push.PushProvider.RegistrationException

Class Overview

Registration exceptions

Summary

Public Constructors
RegistrationException(String message, boolean isRecoverable, Throwable cause)
Creates a new registration exception.
RegistrationException(String message, boolean isRecoverable)
Creates a new registration exception.
Public Methods
boolean isRecoverable()
If the exception is recoverable or not.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public RegistrationException (String message, boolean isRecoverable, Throwable cause)

Creates a new registration exception.

Parameters
message The exception message.
isRecoverable If the exception is recoverable (should retry registration).
cause The cause of the exception.

public RegistrationException (String message, boolean isRecoverable)

Creates a new registration exception.

Parameters
message The exception message.
isRecoverable If the exception is recoverable (should retry registration).

Public Methods

public boolean isRecoverable ()

If the exception is recoverable or not.

Returns
  • true if the exception is recoverable, otherwise false.