Package org.teavm.runtime
Class ExceptionHandling
- java.lang.Object
-
- org.teavm.runtime.ExceptionHandling
-
public final class ExceptionHandling extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidabort()static ThrowablecatchException()static StackTraceElement[]fillStackTrace()static CallSitefindCallSiteById(int id, Address frame)static booleanisJumpSupported()static voidjumpToFrame(Address frame, int id)static voidprintStack()static voidthrowArrayIndexOutOfBoundsException()static voidthrowClassCastException()static voidthrowException(Throwable exception)static voidthrowNullPointerException()
-
-
-
Method Detail
-
isJumpSupported
public static boolean isJumpSupported()
-
jumpToFrame
public static void jumpToFrame(Address frame, int id)
-
abort
public static void abort()
-
printStack
public static void printStack()
-
catchException
public static Throwable catchException()
-
throwException
public static void throwException(Throwable exception)
-
throwClassCastException
public static void throwClassCastException()
-
throwNullPointerException
public static void throwNullPointerException()
-
throwArrayIndexOutOfBoundsException
public static void throwArrayIndexOutOfBoundsException()
-
fillStackTrace
public static StackTraceElement[] fillStackTrace()
-
-