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