AI2 Component  (Version nb184)
com.google.appinventor.components.runtime.util.RuntimeErrorAlert Class Reference

Static Public Member Functions

static void alert (final Object context, final String message, final String title, final String buttonText)
 

Detailed Description

Shows a runtime error alert with a single button. Pressing the button will kill the application. This is called by the Yail runtime mechanism Components should throw a YailRuntimeErrorException, which will call this.

Author
halab.nosp@m.elso.nosp@m.n@goo.nosp@m.gle..nosp@m.com (Hal Abelson)

Definition at line 21 of file RuntimeErrorAlert.java.

Member Function Documentation

◆ alert()

static void com.google.appinventor.components.runtime.util.RuntimeErrorAlert.alert ( final Object  context,
final String  message,
final String  title,
final String  buttonText 
)
static

Definition at line 22 of file RuntimeErrorAlert.java.


The documentation for this class was generated from the following file: