FileDocCategorySizeDatePackage
ExceptionThunker.javaAPI DocAndroid 5.1 API1502Thu Mar 12 22:22:56 GMT 2015android.support.v8.renderscript

ExceptionThunker

public class ExceptionThunker extends Object

Fields Summary
Constructors Summary
Methods Summary
static java.lang.RuntimeExceptionconvertException(java.lang.RuntimeException e)

        if (e instanceof android.renderscript.RSIllegalArgumentException) {
            return new android.support.v8.renderscript.RSIllegalArgumentException(e.getMessage());
        } else if (e instanceof android.renderscript.RSInvalidStateException) {
            return new android.support.v8.renderscript.RSInvalidStateException(e.getMessage());
        } else if (e instanceof android.renderscript.RSDriverException) {
            return new android.support.v8.renderscript.RSDriverException(e.getMessage());
        } else if (e instanceof android.renderscript.RSRuntimeException) {
            return new android.support.v8.renderscript.RSRuntimeException(e.getMessage());
        }
        return e;