A2uiException.A2uiRuntimeException


public final class A2uiException.A2uiRuntimeException extends A2uiException


Thrown for any client-side runtime or execution failures (such as dynamic binding or function evaluation failures) that should be reported to the agent and are not structural validation errors

Summary

Public constructors

A2uiRuntimeException(
    @NonNull String message,
    @NonNull Map<@NonNull StringObject> context
)

Inherited methods

From androidx.a2ui.model.protocol.A2uiException
boolean
equals(Object other)
final @NonNull String

An error category identifier (such as "VALIDATION_FAILED" or "RUNTIME_ERROR") that is automatically assigned by the exception subclass.

final @NonNull Map<@NonNull StringObject>

A map containing custom properties and error context (such as the target path).

int
@NonNull String
From kotlin.Throwable

Public constructors

A2uiRuntimeException

public A2uiRuntimeException(
    @NonNull String message,
    @NonNull Map<@NonNull StringObject> context
)
Parameters
@NonNull String message

A human-readable description of the runtime error.

@NonNull Map<@NonNull StringObject> context

A map containing custom properties and error context associated with this error.