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;