GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeException - Android

BlazeException

BlazeException is a sealed class that extends Exception. It is used for handling specific error cases in the SDK. Here you can find a list of possible Blaze SDK related exceptions.

sealed class BlazeException(message: String? = null) : Exception(message)

CloneFailureException

Exception thrown when the deep copying process fails.

Typically indicates issues with Parcelable or reflection cloning mechanisms.

data class CloneFailureException(override val message: String) : BlazeException(message)

WidgetNotInitializedException

Indicates that an operation was attempted on a widget that has not been initialized.

object WidgetNotInitializedException : BlazeException("Widget is not initialized. Call the initWidget() method before using the widget.")

MainThreadRequiredException

Indicates that an operation must be executed on the main thread, but was executed on a background thread.

object MainThreadRequiredException : BlazeException("This operation must be executed on the main thread.")

Did this page help you?