AI2 Component  (Version nb184)
com.google.appinventor.components.runtime.errors.RuntimeError Class Referenceabstract
Inheritance diagram for com.google.appinventor.components.runtime.errors.RuntimeError:
com.google.appinventor.components.runtime.errors.ArrayIndexOutOfBoundsError com.google.appinventor.components.runtime.errors.AssertionFailure com.google.appinventor.components.runtime.errors.ConversionError com.google.appinventor.components.runtime.errors.DispatchableError com.google.appinventor.components.runtime.errors.FileAlreadyExistsError com.google.appinventor.components.runtime.errors.FileIOError com.google.appinventor.components.runtime.errors.IllegalArgumentError com.google.appinventor.components.runtime.errors.NoSuchFileError com.google.appinventor.components.runtime.errors.UninitializedInstanceError com.google.appinventor.components.runtime.errors.UnknownFileHandleError com.google.appinventor.components.runtime.errors.YailRuntimeError

Static Public Member Functions

static RuntimeError convertToRuntimeError (Throwable throwable)
 

Protected Member Functions

 RuntimeError ()
 
 RuntimeError (String message)
 

Detailed Description

Superclass of all Simple runtime errors.

Definition at line 16 of file RuntimeError.java.

Constructor & Destructor Documentation

◆ RuntimeError() [1/2]

com.google.appinventor.components.runtime.errors.RuntimeError.RuntimeError ( )
protected

Creates a runtime error.

Definition at line 21 of file RuntimeError.java.

◆ RuntimeError() [2/2]

com.google.appinventor.components.runtime.errors.RuntimeError.RuntimeError ( String  message)
protected

Creates a runtime error with a more detailed error message.

Parameters
messagedetailed error message

Definition at line 29 of file RuntimeError.java.

Member Function Documentation

◆ convertToRuntimeError()

static RuntimeError com.google.appinventor.components.runtime.errors.RuntimeError.convertToRuntimeError ( Throwable  throwable)
static

Converts a Java Throwable into a Simple runtime error.

Parameters
throwableJava throwable to be converted (may be a Simple runtime error already)
Returns
Simple runtime error

Definition at line 40 of file RuntimeError.java.


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